summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-04 03:33:47 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-04 03:33:47 -0400
commit14d9a8f9c5ec67dc0b5dd7ec03b69487feeb16d1 (patch)
treeaa7d728fc63f4252b50926e563469b9b0af81ea7 /src/screen.c
parent261e8c3bb58a641382e4af762091c4e64783a0f1 (diff)
downloadlibvt100-14d9a8f9c5ec67dc0b5dd7ec03b69487feeb16d1.tar.gz
libvt100-14d9a8f9c5ec67dc0b5dd7ec03b69487feeb16d1.zip
stop using non-standard escape sequences
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 1dad246..12414c3 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -996,7 +996,7 @@ static void vt100_screen_get_string(
if (attrs.inverse != cell->attrs.inverse) {
attr_codes[5] = cell->attrs.inverse ? 7 : 27;
}
- vt100_screen_push_string(strp, lenp, &capacity, "\e[", 2);
+ vt100_screen_push_string(strp, lenp, &capacity, "\033[", 2);
for (i = 0; i < sizeof(attr_codes) / sizeof(int); ++i) {
char buf[3];