diff options
author | tomsmeding <tom.smeding@gmail.com> | 2019-02-09 23:07:59 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2019-02-09 23:07:59 +0100 |
commit | 3961af4864bf01b557de61c51e1ef08f251cc97a (patch) | |
tree | 1cc76d3c78e1aa2176133f41763e2be665cf8ae6 | |
parent | 8fa4a04479885d7a430f01f7d6f6093e287c1eb5 (diff) |
Using installCLhandler() doesn't work because the automatic handler
blocks on reading the next key after a ^L, which may not come.
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -259,6 +259,7 @@ int main(void){ } else if(key=='A'||key=='a'||key==KEY_LEFT)move(&bd,-1); else if(key=='D'||key=='d'||key==KEY_RIGHT)move(&bd,1); else if(key=='W'||key=='w'||key==KEY_UP)rotR(&bd); + else if(key==KEY_CTRL+'L')redrawfull(); else bel(); } } |