Broken floating windows in ncurses
All floating windows are broken in ncurses like this:
I checked my GNOME terminal settings about ambiguous-width characters but it's same as default.
Environment
$ lem -- --version
lem 2.2.0-7f7c33da (X86-64-timberwolf)
$ uname -a
Linux timberwolf 6.5.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Mon May 20 15:55:15 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
The workaround is as follows.
(setf lem-lisp-mode/completion:*documentation-popup-gravity* :vertically-adjacent-window)
Thank you! I wrote that form into ~/.lem/init.lisp and completion window works normally!
The workaround is as follows.
(setf lem-lisp-mode/completion:*documentation-popup-gravity* :vertically-adjacent-window)
Is this something I broke that needs to be undone?
If it takes a long time to fix, it might be better to revert once.
@garlic0x1 Would you like to change the default value?
I can also replicate this in SDL2 version when I set the flag to what it was before. I think there's a bug in how the sizes and positions are calculated. This only occurs at smaller screen sizes.
I think a more sophisticated approach is needed here. I have some thoughts on this if I can find some time to explore them.
If you want @cxxxr you can assign this to me.