Skip to content

Commit

Permalink
Add viewscreen::feed_key method
Browse files Browse the repository at this point in the history
  • Loading branch information
lethosor committed Feb 11, 2017
1 parent b110355 commit a10d4ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions library/include/df/custom/viewscreen.methods.inc
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
friend struct df::interfacest;
void feed_key(df::interface_key key) {
std::set<df::interface_key> input;
input.insert(key);
feed(&input);
}
2 changes: 1 addition & 1 deletion library/xml
Submodule xml updated 1 files
+4 −0 df.viewscreen.xml

0 comments on commit a10d4ae

Please sign in to comment.