From 7cdbc189f0184d3fef3ed41c77238ab4859e558e Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 12 Aug 2023 23:07:10 +0200 Subject: Another occurrence of bad escape sequence. --- fluid/shell_command.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fluid/shell_command.cxx') diff --git a/fluid/shell_command.cxx b/fluid/shell_command.cxx index fb1ed5b93..cd764ca24 100644 --- a/fluid/shell_command.cxx +++ b/fluid/shell_command.cxx @@ -310,11 +310,11 @@ void do_shell_command(Fl_Return_Button*, void*) { } // Show the output window and clear things... - shell_run_terminal->printf("\033[0;32m%s\e[0m\n", g_shell_command.c_str()); + shell_run_terminal->printf("\033[0;32m%s\033[0m\n", g_shell_command.c_str()); shell_run_window->label(g_shell_command.c_str()); if (s_proc.popen((char *)g_shell_command.c_str()) == NULL) { - shell_run_terminal->printf("\033[1;31mUnable to run shell command: %s\e[0m\n", + shell_run_terminal->printf("\033[1;31mUnable to run shell command: %s\033[0m\n", strerror(errno)); shell_run_window->label("FLUID Shell"); return; -- cgit v1.2.3