maaslalani / slides

Terminal based presentation tool
http://maaslalani.com/slides/
MIT License
9.58k stars 263 forks source link

Support backgrounding with Ctrl+Z #263

Open WardBrian opened 10 months ago

WardBrian commented 10 months ago

Is your feature request related to a problem? Please describe.

I am really enjoying this tool. I'm planning a talk where my reason for wanting to use the terminal is a lot of demo integration. It would be very nice if I could Ctrl+Z to background the app, do part of my demo, then fg to get back to the slide I left off on.

Describe the solution you'd like This should be built-in to the terminal, so I think the app just needs to not intercept this keybind

WardBrian commented 10 months ago

I did some more digging and this might actually require work in the upstream packages slides uses: https://github.com/charmbracelet/bubbletea/issues/497 https://github.com/charmbracelet/bubbletea/pull/500

maaslalani commented 4 months ago

Thanks for digging @WardBrian! I appreciate it and yeah seems like this is blocked on upstream packages.

WardBrian commented 1 month ago

https://github.com/charmbracelet/bubbletea/pull/1054 was recently merged, adding support for this in bubbletea. Presumably this will be included in the next release, and all that would be needed in slides is an update/re-compile?