aboutsummaryrefslogtreecommitdiff
path: root/t/05read.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-18 16:36:10 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-18 16:36:10 +0000
commit6bc3f8a378338246603e21704763c65cdc6ceb77 (patch)
treed39cbda1ed0cebb59fa96e9ce59accec25b9b6c0 /t/05read.c
parent3981920938ee0d1f9a720c7208f6248cbcf0ae35 (diff)
downloadtermo-6bc3f8a378338246603e21704763c65cdc6ceb77.tar.gz
termo-6bc3f8a378338246603e21704763c65cdc6ceb77.tar.xz
termo-6bc3f8a378338246603e21704763c65cdc6ceb77.zip
\e string escape is not portable; use \033
Diffstat (limited to 't/05read.c')
-rw-r--r--t/05read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/05read.c b/t/05read.c
index 00fb640..da87a5e 100644
--- a/t/05read.c
+++ b/t/05read.c
@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
is_int(termkey_getkey(tk, &key), TERMKEY_RES_NONE, "getkey yields RES_NONE a second time");
- write(fd[1], "\eO", 2);
+ write(fd[1], "\033O", 2);
termkey_advisereadable(tk);
is_int(termkey_get_buffer_remaining(tk), 254, "buffer free 254 after partial write");