lem-project / lem

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

Broken floating windows in ncurses #1399

Open t-sin opened 5 months ago

t-sin commented 5 months 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 5 months ago

The workaround is as follows.

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

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

garlic0x1 commented 5 months 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 5 months ago

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

cxxxr commented 4 months ago

@garlic0x1 Would you like to change the default value?