dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 19bf183b89e829c66b211034ceddc8d3b6bb55da
parent f56a83a41b9c9305e3ee16b36ae4fd7723e54f07
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Sun, 10 Feb 2013 17:47:59 +0100

vt: implement DECALN

Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>

Diffstat:
vt.c | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/vt.c b/vt.c @@ -919,9 +919,14 @@ static void try_interpret_escape_seq(Vt *t) } switch (*t->ebuf) { - case '#': /* ignore DECDHL, DECSWL, DECDWL, DECHCP, DECALN, DECFPP */ - if (t->elen == 2) + case '#': /* ignore DECDHL, DECSWL, DECDWL, DECHCP, DECFPP */ + if (t->elen == 2) { + if (lastchar == '8') { /* DECALN */ + interpret_csi_ed(t, (int []){ 2 }, 1); + goto handled; + } goto cancel; + } break; case '(': case ')':