zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
25.17k stars 1.18k forks source link

TERM=foot-direct doesn't work with micro 2.0.14 #3460

Open hholst80 opened 1 month ago

hholst80 commented 1 month ago
# micro --version
Version: 2.0.14
Commit hash: 04c57704
Compiled on August 28, 2024

It takes around 20 seconds to micro to bring up the TUI and when it does it looks godawful.

image

TERM=foot micro ## this works
TERM=foot-direct micro ## this doesn't
JoeKar commented 1 month ago

I had to search what foot and foot-direct are used for and came across:

So it's a option to change the builtin terminfo, which causes trouble in our very old depending version of tcell, already known to have some limitations over the upstream one. Even if it would have worked to forward the truelcolor support to tcell and micro, there is still the fact that micro disables truecolor by default over the automatic detection done by tcell (see this discussion resp. comment).