commit 55be6e53d236c52de439ebaf04d6f916d04c1719
parent 667e3ce547d2c2a15af3845ef8315b434b742fb6
Author: rob <rob@tarina.org>
Date: Mon, 29 Apr 2019 13:45:09 +0100
added space as record button
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -1125,7 +1125,7 @@ def getbutton(lastbutton, buttonpressed, buttontime, holdbutton):
pressed = 'left'
elif event == curses.KEY_RIGHT or readbus == 251:
pressed = 'right'
- elif event == 339 or readbus == 127:
+ elif event == 339 or event == ord(' ') or readbus == 127:
pressed = 'record'
elif event == 338 or readbus == 253:
pressed = 'retake'