maaslalani / slides

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

Add support for an embedded terminal #216

Closed MikaelFangel closed 1 year ago

MikaelFangel commented 1 year ago

Is your feature request related to a problem? Please describe. When doing presentations I would like show of things in vim or other interactive cli programs.

Describe the solution you'd like I would like a option to add a embedded terminal window in a slide. It could be like the one in lootatme.

Describe alternatives you've considered The alternatives I've considered is changing to lookatme or as of now I'm just using tmux to split the window.

Additional context No additional context.

Thanks for a great program! 🙌🏻

maaslalani commented 1 year ago

Hey, I really recommend using tmux for this one:

Likely tmux display-popup will help here:

# Embedded Terminal

This is a test:

```bash
tmux display-popup

Embedded Terminal

Another test

tmux display-popup confetty
maaslalani commented 1 year ago

https://user-images.githubusercontent.com/42545625/221008276-2eb0f9ee-f3ec-4c44-a3f4-e8480944ac54.mov

MikaelFangel commented 1 year ago

Thanks! I'm quite new to tmux so I didn't know about the pop-up feature. Will use this in the furture.

maaslalani commented 1 year ago

I actually just learned about the feature today! And I've been using tmux for a while 😄

MikaelFangel commented 1 year ago

Have played with for some time now, and if you want to open vim in a popup and not close the popup on ESC. You can run the command tmux display-popup -E 'vim'. Just thought I would let you know.

maaslalani commented 1 year ago

Awesome! Thanks so much for letting me know that trick! ❤️