kimtore / pms

Practical Music Search is an interactive Vim-like console client for the Music Player Daemon.
https://ambientsound.github.io/pms/
MIT License
249 stars 23 forks source link

Should go to background on ^Z #97

Open tremby opened 7 years ago

tremby commented 7 years ago

Currently ^Z does nothing; PMS should suspend and put the terminal back in order so commands can be run. Then it should handle being brought back to the foreground correctly.

kimtore commented 7 years ago

I second this, but as a command (e.g., suspend or similar) instead of a hard-coded sequence.

tremby commented 7 years ago

Isn't suspending with ^Z just a normal thing all applications are supposed to do? It's default behaviour -- something in Go or the screen drawing library must be absorbing it.

But sure, having a default ^Z binding which runs a command which does the same thing would have the same effect.