MCPcopy Create free account
hub / github.com/NetHack/NetHack / Retry

Method Retry

win/Qt/qt_xcmd.cpp:441–451  ·  view source on GitHub ↗

Return to ExtCmdRequestor::get()'s caller in order to be called back

Source from the content-addressed store, hash-verified

439
440// Return to ExtCmdRequestor::get()'s caller in order to be called back
441void NetHackQtExtCmdRequestor::Retry()
442{
443 // remember the current settings; they'll persist until changed again
444 qt_settings->updateXcmd(byRow, set);
445
446 // return to qt_get_ext_cmd() and have it run ExtCmdRequestor again;
447 // current selection grid will be torn down, then new one created;
448 setResult(xcmdNoMatch);
449 accept();
450 /*NOTREACHED*/
451}
452
453#define Ctrl(c) (0x1f & (c)) /* ASCII */
454// Note: we don't necessarily have access to a terminal to query

Callers

nothing calls this directly

Calls 1

updateXcmdMethod · 0.80

Tested by

no test coverage detected