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

Function redraw_cmd

src/cmd.c:3910–3918  ·  view source on GitHub ↗

decide whether character (user input keystroke) requests screen repaint */

Source from the content-addressed store, hash-verified

3908
3909/* decide whether character (user input keystroke) requests screen repaint */
3910boolean
3911redraw_cmd(char c)
3912{
3913 uchar uc = (uchar) c;
3914 struct Cmd_bind *bind = cmdbind_get(uc);
3915
3916 return (boolean) (bind && bind->cmd
3917 && bind->cmd->ef_funct == doredraw);
3918}
3919
3920/*
3921 * uses getdir() but unlike getdir() it specifically

Callers 2

getdirFunction · 0.85
getposFunction · 0.85

Calls 1

cmdbind_getFunction · 0.85

Tested by

no test coverage detected