lem-project / lem

Common Lisp editor/IDE with high expansibility
http://lem-project.github.io/
MIT License
2.16k stars 161 forks source link

Broken floating windows in ncurses #1399

Open t-sin opened 4 weeks ago

t-sin commented 4 weeks ago

All floating windows are broken in ncurses like this:

image

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
cxxxr commented 4 weeks ago

The workaround is as follows.

(setf lem-lisp-mode/completion:*documentation-popup-gravity* :vertically-adjacent-window)
t-sin commented 4 weeks ago

Thank you! I wrote that form into ~/.lem/init.lisp and completion window works normally!

garlic0x1 commented 4 weeks ago

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?

cxxxr commented 4 weeks ago

If it takes a long time to fix, it might be better to revert once.