dvtm

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

commit 173be8ece12ce3bf7b20b4a3fab699cc8d91958f
parent a45ec52d910c57f2efb5a642ad3b2efb62f063ad
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Sat,  1 Sep 2012 23:39:45 +0200

vt: ignore xterm specific escape sequence

The now ignored sequences end with a "string terminator" ESC \
they are used for various things including color settings in
rgb mode which are used by 256color.pl

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

Diffstat:
vt.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vt.c b/vt.c @@ -891,7 +891,8 @@ static void try_interpret_escape_seq(Vt *t) } break; case ']': /* xterm thing */ - if (lastchar == '\a') { + if (lastchar == '\a' || + (lastchar == '\\' && t->elen >= 2 && t->ebuf[t->elen - 2] == '\e')) { interpret_esc_xterm(t); cancel_escape_sequence(t); return;