Move the cursor after writing the banner only if cursor coords were explicitly defined.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@520 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
4a258cc775
commit
4b8e110006
|
@ -1888,6 +1888,7 @@ runmenuloop(struct dg_menu *menu)
|
|||
clear();
|
||||
}
|
||||
drawbanner(&ban, 1, 0);
|
||||
if (menu->cursor_x >= 0 && menu->cursor_y >= 0)
|
||||
mvprintw(menu->cursor_y, menu->cursor_x, "");
|
||||
refresh();
|
||||
userchoice = getch();
|
||||
|
|
Loading…
Reference in New Issue