dvtm

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

commit 6ffa79c78ca336dc4bceda04ace59e56966bfe9e
parent 8509c2666e96527cff396d30874c6c1b0473981c
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Mon,  9 Jul 2012 19:19:23 +0200

vt: ignore DECDHL, DECSWL, DECDWL, DECHCP, DECALN, DECFPP

They all have the format "ESC # n". Before the "n" part
was output because the escape sequence was canceled too early.

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

Diffstat:
vt.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/vt.c b/vt.c @@ -871,6 +871,12 @@ static void try_interpret_escape_seq(Vt *t) } switch (*t->ebuf) { + case '#': /* ignore DECDHL, DECSWL, DECDWL, DECHCP, DECALN, DECFPP */ + if (t->elen == 2) { + cancel_escape_sequence(t); + return; + } + break; case '(': case ')': if (t->elen == 2) {