d0c-s4vage / lookatme

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

terminal extension doesn't work #139

Open airtonix opened 2 years ago

airtonix commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

d0c-s4vage commented 2 years ago

I need some more information about what platform/OS you're running, how I can reproduce this problem, etc. Embedded terminals seem to be working for me.

Super-Yojan commented 1 year ago

The terminal doesn't work. Just providing some information hoping it's useful.

All I did was image

and this is the output

image

urwid.listbox.ListBoxError: Focus Widget <LineBox selectable flow widget <BoxAdapter selectable flow widget <Terminal selectable box widget> height=8>> at position 3 within listbox calculated cursor coords (1, 1) but rendered cursor coords None!

OS: ArcoLinux Kernel: 6.0.6-arch1-1

d0c-s4vage commented 1 year ago

Thanks for the additional info! I'll see if I can figure out what's going on. The repro markdown works fine for me.

Screencast from 11-03-2022 06:22:55 AM.webm

Thanks for providing the error message too - this may be a problem with urwid and its Terminal widget. I'll do some more digging! There's a few issues open right now related to working with the Terminal

glebec commented 4 weeks ago

Likewise, I was excited to start writing an interactive terminal-heavy presentation, but I immediately get this error when clicking on the terminal:

ERROR:lookatme:Error rendering slide 3: Focus Widget <LineBox selectable flow widget <BoxAdapter selectable flow widget <Terminal selectable box widget> height=8>> at position 5 within listbox calculated cursor coords (1, 2) but rendered cursor coords None!