From 873a3216ccc5c1f2bbc4f053c851c2a8d24e4553 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 21 Aug 2018 17:16:42 -0500 Subject: Use \033 instead of \e gcc extension. --- lib/interestingtimes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/interestingtimes.c b/lib/interestingtimes.c index bc8e0fea..636964aa 100644 --- a/lib/interestingtimes.c +++ b/lib/interestingtimes.c @@ -56,7 +56,7 @@ int terminal_probesize(unsigned *xx, unsigned *yy) // Send probe: bookmark cursor position, jump to bottom right, // query position, return cursor to bookmarked position. - xprintf("\e[s\e[999C\e[999B\e[6n\e[u"); + xprintf("\033[s\033[999C\033[999B\033[6n\033[u"); return 0; } -- cgit v1.2.3