RasmusLindroth / tut

TUI for Mastodon with vim inspired keys
https://tut.anv.nu
MIT License
450 stars 29 forks source link

Tut stops working after OpenEditor on Windows. #233

Open iucario opened 1 year ago

iucario commented 1 year ago

The editor I'm using is Notepad.exe.

How to reproduce:

  1. tut
  2. Press [C]ompose
  3. Press [E]dit
  4. Notepad.exe opens up. Input some text, and then save and close.
  5. The content is correctly displayed on the terminal. But the TUI seems unfocused and no key or mouse event works anymore.

Also the default vi works fine on WSL and MacOS, but not on Windows.

I think the function OpenEditor returns correct result but something after that is not working. I am not familiar with Go or tview and that's all the debug information I can provide for now.

RasmusLindroth commented 1 year ago

Unfortunately I don't have a computer that runs Windows so I can't troubleshoot it. I'll have to leave this one open till I get the opportunity to test this myself

RasmusLindroth commented 1 year ago

I think it could be due to this bug https://github.com/rivo/tview/issues/244