[ncurses] handle Enter key better
This commit is contained in:
parent
ada2410ab9
commit
a2e9bb8aa3
1 changed files with 1 additions and 0 deletions
|
@ -404,6 +404,7 @@ void ui_get_event_ncurses( void )
|
||||||
case KEY_ENTER:
|
case KEY_ENTER:
|
||||||
case '\n':
|
case '\n':
|
||||||
case ',':
|
case ',':
|
||||||
|
case 13:
|
||||||
hpkey = ( config.model == MODEL_49G ? HP49_KEY_ENTER : HP48_KEY_ENTER );
|
hpkey = ( config.model == MODEL_49G ? HP49_KEY_ENTER : HP48_KEY_ENTER );
|
||||||
break;
|
break;
|
||||||
case KEY_BACKSPACE:
|
case KEY_BACKSPACE:
|
||||||
|
|
Loading…
Reference in a new issue