mirror of
https://github.com/neovim/neovim.git
synced 2026-09-09 15:35:51 +00:00
Problem: `menu_mode_chars` includes the two-character `"tl"` value. The hardcoded `1` is the `key_len` argument of `tv_dict_add_dict()`, which truncated it to `"t"`, the designator for a tooltip. Scripts keying on the documented mode designators therefore miss terminal mode entries and misread them as tooltips. Solution: Pass the real length of the designator. AI-assisted