emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 141 forks source link

(Emacs TTY) Prevent reference count string from jumping into the next line because of the window divider's width not taken into account #673

Closed anonimitoraf closed 2 years ago

anonimitoraf commented 2 years ago

Note that the leeway is hardcoded to 1 because that's just how it is in TTY (correct me if I'm wrong). TTY ignores window-divider-width

Before the code change: image

After the code change: image