Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ send_key
Function
send_key
plugins/dwarfmonitor.cpp:125–130 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
123
}
124
125
static void send_key(const df::interface_key &key)
126
{
127
set< df::interface_key > keys;
128
keys.insert(key);
129
Gui::getCurViewscreen(true)->feed(&keys);
130
}
131
132
static void move_cursor(df::coord &pos)
133
{
Callers
3
feed
Method · 0.85
feed
Method · 0.85
feed
Method · 0.85
Calls
2
insert
Method · 0.45
feed
Method · 0.45
Tested by
no test coverage detected