Skip to content
  • Craig Small's avatar
    watch: interpret esc[m sequence · 6fcb6900
    Craig Small authored
    Commit 99fa7f removed watch crashing from having the null ANSI
    sequence. However it just ignored that sequence instead of fixing it.
    
    This change correctly checks buf (not undefined endptr) and sends
    the reset attribute if found.
    
    Closes: #12
    6fcb6900