wip: vt parsing: initial csi/osc dispatching

This commit is contained in:
Daniel Eklöf 2019-06-15 22:22:44 +02:00
parent 0e6aa61d69
commit 2a4c08b941
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
10 changed files with 571 additions and 103 deletions

View file

@ -52,6 +52,10 @@ slave_spawn(int ptmx)
close(pts);
pts = -1;
execl("/usr/bin/zsh", "/usr/bin/zsh", NULL);
#if 0
/* TODO: exec() */
sleep(1);
const char *s = "hello\tbla\nfoobar\thaa";
@ -64,6 +68,7 @@ slave_spawn(int ptmx)
write(STDOUT_FILENO, "\råäö", strlen("\råäö"));
sleep(1000);
#endif
err:
if (pts != -1)