glicol / glicol-cli

glicol cli: cross-platform music live coding in terminal
https://github.com/chaosprint/glicol
MIT License
136 stars 11 forks source link

Implement pausing (with 'p'/space) and quitting directly (with 'q') #34

Closed itsjunetime closed 4 months ago

itsjunetime commented 4 months ago

Personally, I've found myself wanting pausing functionality in this tool a lot (since it's hard to think about what the song should sound like when it's continually playing in the background), so I implemented that here with the 'p' and space keys.

I also added the ability to quit out of the app directly (without having to hit 'esc' and then ctrl-c) by hitting 'q', since I feel that is very idiomatic of tui apps and feels much more natural for me when I want to restart what is playing.