about summary refs log tree commit diff stats
path: root/src/lua.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-10 14:25:45 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-10 14:26:38 -0800
commitdc05a10e23cc341fe76e6021f06f08cbc1e6a339 (patch)
tree044a37cdac2b1e73c84c9c56d5fd23aa033f8111 /src/lua.c
parent38f46a4e9201e1a66b3c5ca0a8784a5c77dbed80 (diff)
downloadteliva-dc05a10e23cc341fe76e6021f06f08cbc1e6a339.tar.gz
life: move starting pattern around on the screen
This assumes we're doing it early soon after opening a new pattern, when
it hasn't yet reached the margins. Quick and dirty, but seems good
enough.
Diffstat (limited to 'src/lua.c')
-rw-r--r--src/lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua.c b/src/lua.c
index 068af24..f41b1fa 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -405,6 +405,7 @@ int main (int argc, char **argv) {
   }
   setlocale(LC_ALL, "");
   initscr();
+  keypad(stdscr, 1);
   start_color();
   use_default_colors();
   draw_menu(L);