ref: b89be487f952392a1ccd2788f2dcac1023f0358d
parent: 280d6052a0d68ad231d5b2eac4dfefe87e4391ff
author: cancel <cancel@cancel.fm>
date: Fri Dec 7 07:26:53 EST 2018
Change simulation stepping key to ctrl+f
--- a/README.md
+++ b/README.md
@@ -65,7 +65,8 @@
- `ctrl+q`: quit
- Arrow keys or `ctrl+h/j/k/l`: move cursor
- `A`-`Z`, `a`-`z`, `0`-`9`, and other printable characters: write character to grid at cursor
-- Spacebar: step the simulation one tick
+- Spacebar: play or pause
+- `ctrl+f`: step the simulation one tick forward
- `ctrl+u`: undo
- return or enter: change into or out of overwrite/append mode
- `/`: change into or out of key-trigger mode (for the `!` operator)
--- a/tui_main.c
+++ b/tui_main.c
@@ -721,7 +721,7 @@
input_mode = Tui_input_mode_piano;
}
break;
- case AND_CTRL(' '):
+ case AND_CTRL('f'):
undo_history_push(&undo_hist, &field, tick_num);
orca_run(field.buffer, markmap_r.buffer, field.height, field.width,
tick_num, &bank, piano_bits);