Replace non-portable "\e" escape in string literals with "\033"

This commit is contained in:
Craig Barnes 2020-08-02 23:54:04 +01:00
parent 91da76656c
commit 11a1d99da7
4 changed files with 10 additions and 10 deletions

2
osc.c
View file

@ -575,7 +575,7 @@ osc_dispatch(struct terminal *term)
/*
* Reply in XParseColor format
* E.g. for color 0xdcdccc we reply "\e]10;rgb:dc/dc/cc\e\\"
* E.g. for color 0xdcdccc we reply "\033]10;rgb:dc/dc/cc\033\\"
*/
char reply[32];
snprintf(