aboutsummaryrefslogtreecommitdiffstats
path: root/keys.h
diff options
context:
space:
mode:
authorverdant <im@verdant.ee>2026-07-23 03:02:19 +0800
committerverdant <im@verdant.ee>2026-07-23 03:02:19 +0800
commit5a557f19848056a388cc6ac8596b8587d98b3860 (patch)
tree68169d4aff93b6623a0237fe2afda41475ca6451 /keys.h
parent6ef3bfdf2f7e19cd74220a2c8c56250a7f13f0ce (diff)
downloadsf-5a557f19848056a388cc6ac8596b8587d98b3860.tar.gz
sf-5a557f19848056a388cc6ac8596b8587d98b3860.zip
Implement keys handling
'q' for quiting, j and k for scrolling up and down in the file manager
Diffstat (limited to 'keys.h')
-rw-r--r--keys.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/keys.h b/keys.h
new file mode 100644
index 0000000..9562059
--- /dev/null
+++ b/keys.h
@@ -0,0 +1,9 @@
+#ifndef SF_KEYS_H
+#define SF_KEYS_H
+
+#include "fm.h"
+#include "wm.h"
+
+void handling_keys(int ch, terminal *t, fm_info *i);
+
+#endif /* SF_KEYS_H */