mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Need to set escdelay later in the init process.
This commit is contained in:
parent
d41d48deba
commit
b53aa33ae4
@ -134,8 +134,6 @@ void App::InitCurses() {
|
||||
PDC_set_title(this->appTitle.c_str());
|
||||
win32::InterceptWndProc();
|
||||
win32::SetAppTitle(this->appTitle);
|
||||
#else
|
||||
set_escdelay(20);
|
||||
#endif
|
||||
|
||||
initscr();
|
||||
@ -146,6 +144,9 @@ void App::InitCurses() {
|
||||
refresh();
|
||||
curs_set(0);
|
||||
mousemask(ALL_MOUSE_EVENTS, nullptr);
|
||||
#ifndef WIN32
|
||||
set_escdelay(20);
|
||||
#endif
|
||||
}
|
||||
|
||||
void App::SetKeyHandler(KeyHandler handler) {
|
||||
|
Loading…
Reference in New Issue
Block a user