Curses: Obey timed_delay option
This commit is contained in:
@@ -1298,6 +1298,7 @@ curses: make extended command prompt behave more sensibly
|
|||||||
curses: if a menu of objects contains at least one iron ball, and player is
|
curses: if a menu of objects contains at least one iron ball, and player is
|
||||||
not already in the midst of entering a count, recognize '0' as a
|
not already in the midst of entering a count, recognize '0' as a
|
||||||
group accelerator rather than the start of a count
|
group accelerator rather than the start of a count
|
||||||
|
curses: obey timed_delay option
|
||||||
macOS: Xcode project was failing to build if the path to the NetHack source
|
macOS: Xcode project was failing to build if the path to the NetHack source
|
||||||
tree contained a space; the issue was within some shell script code
|
tree contained a space; the issue was within some shell script code
|
||||||
contained within the project
|
contained within the project
|
||||||
|
|||||||
@@ -995,10 +995,14 @@ delay_output() -- Causes a visible delay of 50ms in the output.
|
|||||||
void
|
void
|
||||||
curses_delay_output(void)
|
curses_delay_output(void)
|
||||||
{
|
{
|
||||||
/* refreshing the whole display is a waste of time,
|
#ifdef TIMED_DELAY
|
||||||
* but that's why we're here */
|
if (flags.nap) {
|
||||||
refresh();
|
/* refreshing the whole display is a waste of time,
|
||||||
napms(50);
|
* but that's why we're here */
|
||||||
|
refresh();
|
||||||
|
napms(50);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user