d0c-s4vage / lookatme

An interactive, terminal-based markdown presenter
https://lookatme.readthedocs.io/en/latest/
MIT License
2.1k stars 62 forks source link

3.0 - Terminal visual updates #191

Open d0c-s4vage opened 1 year ago

d0c-s4vage commented 1 year ago

Describe the Feature Request Embedded terminals aren't very customizable, and are hard to work with. Specifically:

Example Markdown

Unfocused

   ┌───────────────────────────────┐
   │$>                             │
   │                               │
   │                               │
   │                               │
   └───────────────────────────────┘

Focused

   ┎───────────────────────────────┐
   ┃$>                             │
   ┃                               │
   ┃                               │
   ┃                               │
   ┖──────────────────────(ctrl+a)─┘

The terminal should also have a "focused" version of the surrounding box, with its own styles. The keybinding to escape would then be overlayed on top of that box in the bottom-right corner