X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=blobdiff_plain;f=normalMode.h;fp=normalMode.h;h=f520c61b41a3cfa11047a8ab3d72230ffb70a7d2;hp=0000000000000000000000000000000000000000;hb=30967a2a66c125cd68ad2c44df11218ccad1105d;hpb=7d59dd715c0b5b219dbb8ac050f2fc07b604e30b diff --git a/normalMode.h b/normalMode.h new file mode 100644 index 0000000..f520c61 --- /dev/null +++ b/normalMode.h @@ -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);