projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed warnings
[dosdemo]
/
src
/
screen.c
diff --git
a/src/screen.c
b/src/screen.c
index
5ba6d40
..
fa70413
100644
(file)
--- a/
src/screen.c
+++ b/
src/screen.c
@@
-97,6
+97,13
@@
void scr_draw(void)
if(cur) cur->draw();
}
+void scr_keypress(int key)
+{
+ if(cur && cur->keypress) {
+ cur->keypress(key);
+ }
+}
+
struct screen *scr_lookup(const char *name)
{
int i;