allows to return ESC on unknown escaped sequence

This commit is contained in:
Laurent Vivier 2007-08-18 13:33:19 +00:00
parent 1fe38714a4
commit 975a5090e5

View File

@ -56,7 +56,7 @@ int emile_scrolllist(emile_window_t *win, emile_list_t *list)
{
c = console_getchar();
if (c != '[')
continue;
return '\033';
c = console_getchar();
if ( (c == 'B') && (list->current < list->nb - 1) )
{