On Thu, 5 Dec 2013 21:29:30 -0600
Eric Pruitt <eric.pru...@gmail.com> 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
>[?1034l[?1h=(B$ vi /tmp/test.py
[?25h[?12l[?25h[?25l"/tmp/test.py" 3L, 
43C  1 """
  2 this word is misspeelllled, 
right?
  3 """
~                                                                      
         
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
1,1All[?12l[?25h[?25l:
:[?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
misspeelllled1,1All[?12l[?25h$
   1 """
  2 this word is misspeelllled, right?
  3 """
~                                                                          
     
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
:set spell1,1All[?25l:
:[?12l[?25hq[?25l[?12l[?25ha[?25l[?12l[?25h
[?25l[?12l[?25h$ 

$ 
[?1l>
[screen is terminating]
Script started on Fri 06 Dec 2013 03:12:55 AM EST
[?7h[?1;4;6l[?1049h[?1h=(B$ vi 
/tmp/test.py
[?12;25h[?12l[?25h[?25l"/tmp/test.py" 
3L, 43C  1 """
  2 this word is misspeelllled, 
right?
  3 """
~                                                                      
         
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
1,1All[?12l[?25h[?25l:
:[?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
misspeelllled1,1All[?12l[?25h$
   1 """
  2 this word is misspeelllled, right?
  3 """
~                                                                          
     
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
:set spell1,1All[?25l:
:[?12l[?25hq[?25l[?12l[?25ha[?25l[?12l[?25h
[?25l[?12l[?25h$ 

$ 
[?1l>
[?1049l[screen is terminating]

Script done on Fri 06 Dec 2013 03:13:08 AM EST

Reply via email to