applied vimbrowse patch
[st.git] / normalMode.h
diff --git a/normalMode.h b/normalMode.h
new file mode 100644 (file)
index 0000000..f520c61
--- /dev/null
@@ -0,0 +1,7 @@
+void normalMode();
+void historyPreDraw();
+void historyOverlay(int x, int y, Glyph* g);
+void historyModeToggle(int start);
+/// Handles keys in normal mode.
+typedef enum {failed=0, succ=1, exitMotion=2, exitOp=3, finished=4} ExitState;
+ExitState kpressHist(char const *txt, int len, int ctrl, KeySym const *kSym);