mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
wip: vt parsing: initial csi/osc dispatching
This commit is contained in:
parent
0e6aa61d69
commit
2a4c08b941
10 changed files with 571 additions and 103 deletions
5
slave.c
5
slave.c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue