orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
624 stars 38 forks source link

Curses version on mlterm seems to have a problem with soft wrapping #512

Closed quesada closed 4 months ago

quesada commented 4 months ago

Example: image

Mlterm on ubuntu 22.04, gnome, X11.

orbitalquark commented 4 months ago

Does this also happen in other terminals? I tried opening Textadept's README.md in a 40 character wide terminal (Konsole), and turned on wrap mode ("View: Toggle Wrap Mode" via Ctrl+P). Everything looks okay to me.

quesada commented 4 months ago

Yes, modern terminals like konsole do ok. It's mlterm that fails. You may wonder why choose mlterm. The answer is typing latency (5ms, whereas all modern terminals are above 40ms)

orbitalquark commented 4 months ago

Okay, then I don't think there's anything I can do about this. There's probably something different about how mlterm handles drawing/measuring/updating/etc., but I'm not versed enough in terminal emulation to know what.

quesada commented 4 months ago

Solved it by using a more modern terminal. Closing.