Index: lex.c =================================================================== RCS file: /cvs/src/bin/ksh/lex.c,v retrieving revision 1.78 diff -u -p -u -p -r1.78 lex.c --- lex.c 15 Jan 2018 14:58:05 -0000 1.78 +++ lex.c 10 Jul 2021 15:02:00 -0000 @@ -1156,6 +1156,7 @@ getsc_line(Source *s) if (*p) { s->line++; histsave(s->line, s->str, 1); + shellf("%c]0;%s%c", '\033', s->str, '\007'); } } if (interactive)