mirror of
https://github.com/paxed/dgamelaunch.git
synced 2025-07-30 00:55:37 +02:00
Allow access to help menu '?' while watching a game. From Marc H. Thoben
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@525 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
cd69271684
commit
298178b49f
@ -282,6 +282,14 @@ ttypread (FILE * fp, Header * h, char **buf, int pread)
|
||||
tcsetattr (0, TCSANOW, &t);
|
||||
return READ_RESTART;
|
||||
break;
|
||||
case '?':
|
||||
tcgetattr (0, &t);
|
||||
initcurses();
|
||||
(void) runmenuloop(dgl_find_menu("watchmenu_help"));
|
||||
endwin ();
|
||||
tcsetattr (0, TCSANOW, &t);
|
||||
return READ_RESTART;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user