aboutsummaryrefslogtreecommitdiff
path: root/normalMode.h
diff options
context:
space:
mode:
authorjack <[email protected]>2023-11-27 12:34:55 -0700
committerjack <[email protected]>2023-11-27 12:34:55 -0700
commit6809f2a1a81b70385d653a942ec673192daa41b7 (patch)
tree76ceaf65f1e0b4aa37bc852aad09a0ecb193d694 /normalMode.h
parentcf34fd0adf148540a79ed6fe6444e1fc3260d2ea (diff)
downloadst-6809f2a1a81b70385d653a942ec673192daa41b7.tar.gz
st-6809f2a1a81b70385d653a942ec673192daa41b7.zip
initial
Diffstat (limited to 'normalMode.h')
-rw-r--r--normalMode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/normalMode.h b/normalMode.h
new file mode 100644
index 0000000..eb77484
--- /dev/null
+++ b/normalMode.h
@@ -0,0 +1,8 @@
+void normalMode();
+void historyPreDraw();
+void historyOverlay(int x, int y, Glyph* g);
+void historyModeToggle(int start);
+void historyOpToggle(int, int);
+typedef enum {failed=0, success=1, exitMotion=2, exitOp=3, finish=4} ExitState;
+ExitState kPressHist(char const *txt, size_t len, int ctrl, KeySym const *kSym);
+ExitState pressKeys(char const* s, size_t e);