commit 3bd66b78c1a207efd6763c533da97bc787163d76
parent 5ea6054a75f8c1fb1fbaf43984ca3a3bb6866f75
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 5 Feb 2020 11:31:03 +0100
tweaks: don't bother including Haiku escape sequences in the tiny version
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/winio.c b/src/winio.c
@@ -397,6 +397,7 @@ int convert_sequence(const int *seq, size_t length, int *consumed)
#endif
}
break;
+#ifndef NANO_TINY
case '5':
if (length > 2) {
*consumed = 3;
@@ -412,6 +413,7 @@ int convert_sequence(const int *seq, size_t length, int *consumed)
}
}
break;
+#endif
case 'A': /* Esc O A == Up on VT100/VT320. */
case 'B': /* Esc O B == Down on VT100/VT320. */
case 'C': /* Esc O C == Right on VT100/VT320. */