mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Dont add formatting escape codes to completion descriptions in ZSH
ZSH gets confused by them, causes the text to move up a line when completing after the first line
This commit is contained in:
parent
b813e1f7ab
commit
cf5ed54c84
1 changed files with 0 additions and 1 deletions
|
|
@ -222,7 +222,6 @@ def zsh_output_serializer(ans: Completions) -> str:
|
|||
desc = desc[:truncate_point_for_length(desc, max_desc_len - 2)]
|
||||
desc += '…'
|
||||
|
||||
word = f'\x1b[32m{word}\x1b[39m'
|
||||
if multiline:
|
||||
ans = f'{word}\n {desc}'
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue