History

Fix auto-play causing 'new file' message to disappear

cancel committed 6 years ago

Commit cada4e71 parent 088a99b1 file · +2 −1Browse files

Unified · Split

tui_main.c+2−1
@@ -3553,7 +3553,8 @@ int main(int argc, char **argv) { · 3552 unmodified lines
35533553 ged_make_cursor_visible(&t.ged);
35543554 // Send initial BPM
35553555 send_num_message(t.ged.oosc_dev, "/orca/bpm", (I32)t.ged.bpm);
3556− ungetch(' '); // queue up auto-play. cheesy.
3556+ // auto-play
3557+ ged_input_cmd(&t.ged, Ged_input_cmd_toggle_play_pause);
35573558 // Enter main loop. Process events as they arrive.
35583559 event_loop:;
35593560 int key = wgetch(stdscr);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t