maaslalani/slides

Add support for an embedded terminal

MikaelFangel opened this issue · 6 comments

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! 🙌🏻

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

```bash
tmux display-popup confetty
```
Screen.Recording.2023-02-23.at.2.17.21.PM.mov

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

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

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.

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