ref: cada4e75c47213a2e21acd020c351d0cf1e1f736
parent: 088a99bc462eb6ad4ee48fb5e119a41dce4cd73f
author: cancel <cancel@cancel.fm>
date: Sun Jan 26 16:10:55 EST 2020
Fix auto-play causing 'new file' message to disappear
--- a/tui_main.c
+++ b/tui_main.c
@@ -3553,7 +3553,8 @@
ged_make_cursor_visible(&t.ged);
// Send initial BPM
send_num_message(t.ged.oosc_dev, "/orca/bpm", (I32)t.ged.bpm);
- ungetch(' '); // queue up auto-play. cheesy.
+ // auto-play
+ ged_input_cmd(&t.ged, Ged_input_cmd_toggle_play_pause);
// Enter main loop. Process events as they arrive.
event_loop:;
int key = wgetch(stdscr);