sources/interface.cpp

changeset 91
ac02cf1c3576
parent 89
777b2a10b835
child 92
39947c46ed17
equal deleted inserted replaced
90:a30130330981 91:ac02cf1c3576
861 case 'N' - 'A' + 1: // ^N 861 case 'N' - 'A' + 1: // ^N
862 if (CurrentInputState == INPUTSTATE_NORMAL) 862 if (CurrentInputState == INPUTSTATE_NORMAL)
863 safe_disconnect ([&]() {set_input_state (INPUTSTATE_ADDRESS);}); 863 safe_disconnect ([&]() {set_input_state (INPUTSTATE_ADDRESS);});
864 break; 864 break;
865 865
866 case '\e': // Escape 866 case '\x1b': // Escape
867 // We may have an alt key coming 867 // We may have an alt key coming
868 ch = ::getch(); 868 ch = ::getch();
869 869
870 if (ch != ERR) 870 if (ch != ERR)
871 { 871 {

mercurial