Commit: fc1a6c24948096a82f017a870051c6b3ca2b70af
Parent: 6136aaecbfc4f3c68a0a9c31cc7d8521b838243b
Author: Randy Palamar
Date: Sun, 25 Aug 2024 22:58:06 -0600
add CSI Z,f and ESC D,E to list of cursor movement commands
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/terminal.c b/terminal.c
@@ -910,9 +910,11 @@ check_if_csi_moves_cursor(Term *t, s8 *raw)
case 'F': result = EMC_CURSOR_MOVED; break;
case 'G': result = EMC_CURSOR_MOVED; break;
case 'H': result = EMC_CURSOR_MOVED; break;
+ case 'Z': result = EMC_CURSOR_MOVED; break;
case 'a': result = EMC_CURSOR_MOVED; break;
case 'd': result = EMC_CURSOR_MOVED; break;
case 'e': result = EMC_CURSOR_MOVED; break;
+ case 'f': result = EMC_CURSOR_MOVED; break;
case 'h': set_mode(t, &csi, 1); break;
case 'l': set_mode(t, &csi, 0); break;
case 'm': set_colours(t, &csi); break;
@@ -949,7 +951,8 @@ check_if_escape_moves_cursor(Term *t, s8 *raw)
case 'c': /* RIS -- Reset to Initial State */
result = EMC_CURSOR_MOVED;
break;
- case 'E': /* NEL - Next Line */
+ case 'D': /* IND -- Linefeed */
+ case 'E': /* NEL -- Next Line */
result = EMC_CURSOR_MOVED;
break;
case 'M': /* RI -- Reverse Index */