From 111b514a05c38eae0cfef06164f2c5b27d8b5b38 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Fri, 6 Dec 2024 19:39:57 +0000 Subject: [PATCH] Replace non-standard \e with \033. --- src/pv/display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pv/display.c b/src/pv/display.c index 75f2963..05d5a8a 100644 --- a/src/pv/display.c +++ b/src/pv/display.c @@ -1331,9 +1331,9 @@ void pv_display(pvstate_t state, bool final) && (state->control.force || pv_in_foreground()) && (NULL != state->extra_display.display_buffer) ) { - pv_tty_write(state, "\e]2;", 4); + pv_tty_write(state, "\033]2;", 4); pv_tty_write(state, state->extra_display.display_buffer, state->extra_display.display_string_len); - pv_tty_write(state, "\e\\", 2); + pv_tty_write(state, "\033\\", 2); state->extra_display.display_visible = true; debug("%s: [%s]", "windowtitle display", state->extra_display.display_buffer); }