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

Method qt_get_ext_cmd

win/Qt/qt_bind.cpp:992–1004  ·  view source on GitHub ↗

User has typed '#' to begin entering an extended command; core calls us.

Source from the content-addressed store, hash-verified

990
991// User has typed '#' to begin entering an extended command; core calls us.
992int NetHackQtBind::qt_get_ext_cmd()
993{
994 NetHackQtExtCmdRequestor *xcmd;
995 int result;
996 do {
997 xcmd = new NetHackQtExtCmdRequestor(mainWidget());
998 result = xcmd->get();
999 delete xcmd;
1000 } while (result == xcmdNoMatch);
1001 // refresh message window after extended command dialog is dismissed
1002 NetHackQtBind::qt_clear_nhwindow(WIN_MESSAGE);
1003 return result;
1004}
1005
1006void NetHackQtBind::qt_number_pad(int)
1007{

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected