[ncurses] handle Enter key better

This commit is contained in:
Gwenhael Le Moine 2024-10-22 08:11:55 +02:00
parent ada2410ab9
commit a2e9bb8aa3
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -404,6 +404,7 @@ void ui_get_event_ncurses( void )
case KEY_ENTER:
case '\n':
case ',':
case 13:
hpkey = ( config.model == MODEL_49G ? HP49_KEY_ENTER : HP48_KEY_ENTER );
break;
case KEY_BACKSPACE: