Cygwin: don't move cursor on NUL char at all
Add a comment instead to explain that this behaviour contradicts the terminfo entry. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
4ec2e5e1c2
commit
db33f3499c
@ -2733,8 +2733,9 @@ do_print:
|
||||
cursor_rel (-1, 0);
|
||||
break;
|
||||
case IGN:
|
||||
if (!wincap.has_con_24bit_colors () || con_is_legacy)
|
||||
cursor_rel (1, 0);
|
||||
/* Up to release 3.1.3 we called cursor_rel (1, 0); to move the cursor
|
||||
one step to the right. However, that neither matches the terminfo
|
||||
for the cygwin terminal, nor the one for the xterm terminal. */
|
||||
break;
|
||||
case CR:
|
||||
cursor_get (&x, &y);
|
||||
|
Loading…
Reference in New Issue
Block a user