Page MenuHomePhabricator

Cursor functionality extremely weird with color codes in nano
Closed, ResolvedPublic


Note, this does NOT happen when in GNU Screen.

Basically I have witnessed some weird cursor functionality with latest terminology. Easiest way to reproduce is to cat the typescript file I have attached (

) and compare with xterm.

I'd expect for this line to be visible

a/b -some text code bugtesting

What happens instead:

estingotesting tode bugtesting

You can also reproduce this bug by:

  1. Enable text highlighting for python in nano
  2. Type some text that highlights
  3. Go to line beginning with home key or similar
  4. Begin typing in the middle of a highlighted word and you should see cursor going haywire