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

Method CtrlV

win/Qt/qt_main.cpp:922–926  ·  view source on GitHub ↗

called when ^V is typed while the main window has keyboard focus; all other control characters go through NetHackQtBind::notify()

Source from the content-addressed store, hash-verified

920// called when ^V is typed while the main window has keyboard focus;
921// all other control characters go through NetHackQtBind::notify()
922void NetHackQtMainWindow::CtrlV()
923{
924 static const char cV[] = { CTRL('V'), '\0' };
925 doKeys(cV);
926}
927#endif
928
929// add a toolbar button to invoke command 'name' via function '(*func)()'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected