switch ((menuchoice = getch ()))
{
+ case '*':
+ if (len > 0) {
+ idx = random() % len;
+ goto watchgame;
+ }
+ break;
case '?':
(void) runmenuloop(dgl_find_menu("watchmenu_help"));
break;
}
setproctitle("<Anonymous>");
+ srand(time(0));
+
create_config();
/* signal handlers */
Help for watching-menu
----------------------
- ? shows this help.
+ ? show this help.
> < next/previous page.
- . changes sorting method.
+ . change sorting method.
q Q return to main menu.
- a-zA-Z selects the game entry.
- enter starts showing the selected game.
+ a-zA-Z select a game entry.
+ enter start showing the selected game.
+ * start showing a randomly selected game.
While watching a game
- Press 'q' or space to return to the watching menu.
\ No newline at end of file
+ Press 'q' or space to return to the watching menu.