On Thu, 5 Dec 2013 21:29:30 -0600 Eric Pruitt <[email protected]> wrote:
Hello I've just tested it and reproduced it successfully. Also, I confirmed that everything works find on xterm. I've attached I/O dumps on both st and xterm. Apparently, it's not st's fault. After the misspelled word, xterm receives ^[[24m^[[49m (no underline, reset background), while st receives ^[[m^[[49m (reset all, reset background). I'm no expert in this, so I hope someone with better knowledge reviews this. Note that this doesn't happen in tmux, so I recommend giving it a try. Sincerely Eon
[4l>[?1034l[4l[?1h=[0m(B[1;24r[H[2J[H[2J$ vi /tmp/test.py
[H[?25h[?12l[?25h[37m[1m[0m[H[2J[1m[37m[?25l[23B"/tmp/test.py" 3L,
43C[H[0m[30m 1 [39m[37m[1m[0m[32m"""[39m[37m[1m
[0m[30m 2 [39m[37m[1m[0m[32mthis word is misspeelllled,
right?[39m[37m[1m
[0m[30m 3 [39m[37m[1m[0m[32m"""[39m[37m[1m
[0m[30m~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
[39m[37m[1m[24;63H1,1[11CAll[1;5H[?12l[?25h[?25l[24;53H:[1;5H
[23B[0m[K[1m[37m:[?12l[?25hs[?25l[?12l[?25he[?25l[?12l[?25ht[?25l[?12l[?25h[?25l
[?12l[?25hs[?25l[?12l[?25hp[?25l[?12l[?25he[?25l[?12l[?25hl[?25l[?12l[?25hl[?25l[?12l[?25h
[?25l[1;5H[13C
[0m[4m[32m[41mmisspeelllled[m[39m[49m[37m[1m[24;63H1,1[11CAll[1;5H[?12l[?25h[0m[H[2J$
[H[2J[30m 1 [32m"""
[30m 2 [32mthis word is [4m[41mmisspeelllled[m[49m, right?
[30m 3 [32m"""
[30m~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
[1m[37m:set spell[52C1,1[11CAll[1;5H[?25l[24;53H:[1;5H
[23B[0m[K[1m[37m:[?12l[?25hq[?25l[?12l[?25ha[?25l[?12l[?25h
[?25l[0m[K[1m[37m[?12l[?25h$
[0m
[H[2J$
[?1l>[24;1H
[screen is terminating]
Script started on Fri 06 Dec 2013 03:12:55 AM EST
[r[m[2J[H[?7h[?1;4;6l[?1049h[4l[?1h=[0m(B[1;24r[H[2J[H[2J$ vi
/tmp/test.py
[H[?12;25h[?12l[?25h[37m[1m[0m[H[2J[1m[37m[?25l[23B"/tmp/test.py"
3L, 43C[H[0m[30m 1 [39m[37m[1m[0m[32m"""[39m[37m[1m
[0m[30m 2 [39m[37m[1m[0m[32mthis word is misspeelllled,
right?[39m[37m[1m
[0m[30m 3 [39m[37m[1m[0m[32m"""[39m[37m[1m
[0m[30m~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
[39m[37m[1m[24;63H1,1[11CAll[1;5H[?12l[?25h[?25l[24;53H:[1;5H
[23B[0m[K[1m[37m:[?12l[?25hs[?25l[?12l[?25he[?25l[?12l[?25ht[?25l[?12l[?25h[?25l
[?12l[?25hs[?25l[?12l[?25hp[?25l[?12l[?25he[?25l[?12l[?25hl[?25l[?12l[?25hl[?25l[?12l[?25h
[?25l[1;5H[13C
[0m[4m[32m[41mmisspeelllled[24m[39m[49m[37m[1m[24;63H1,1[11CAll[1;5H[?12l[?25h[0m[H[2J$
[H[2J[30m 1 [32m"""
[30m 2 [32mthis word is [4m[41mmisspeelllled[24m[49m, right?
[30m 3 [32m"""
[30m~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
[1m[37m:set spell[52C1,1[11CAll[1;5H[?25l[24;53H:[1;5H
[23B[0m[K[1m[37m:[?12l[?25hq[?25l[?12l[?25ha[?25l[?12l[?25h
[?25l[0m[K[1m[37m[?12l[?25h$
[0m
[H[2J$
[?1l>[24;1H
[?1049l[screen is terminating]
Script done on Fri 06 Dec 2013 03:13:08 AM EST
