mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-07 10:20:50 +00:00
A tab title too wide for the sidebar could only be truncated, which is wasteful now that a title may use several lines. Add tab_title_wrap, accepting no (the default, truncate as before), yes to wrap at the width of the tab bar, or a number to wrap at that many cells. Wrapping happens on grapheme boundaries so a line break can never land inside a multi-codepoint grapheme, and SGR escapes are treated as zero width so colors from tab_title_template neither consume cells nor get split in half. Wrapping is bounded by tab_title_max_lines, and when a title needs more lines than it is allowed the last line it gets is truncated with an ellipsis, which also makes dropped lines visible for titles containing explicit newlines. Only vertical tab bars are affected, since wrapping requires more than one row. |
||
|---|---|---|
| .. | ||
| _static | ||
| _templates | ||
| kittens | ||
| screenshots | ||
| actions.rst | ||
| basic.rst | ||
| binary.rst | ||
| build.rst | ||
| changelog.rst | ||
| clipboard.rst | ||
| color-stack.rst | ||
| conf.py | ||
| conf.rst | ||
| deccara.rst | ||
| desktop-notifications.rst | ||
| dnd-protocol.rst | ||
| extract-rst-targets.py | ||
| faq.rst | ||
| file-transfer-protocol.rst | ||
| glossary.rst | ||
| graphics-protocol.rst | ||
| index.rst | ||
| installer.sh | ||
| integrations.rst | ||
| intro_vid.rst | ||
| invocation.rst | ||
| keyboard-protocol.rst | ||
| kittens_intro.rst | ||
| launch.rst | ||
| layouts.rst | ||
| Makefile | ||
| mapping.rst | ||
| marks.rst | ||
| misc-protocol.rst | ||
| multiple-cursors-protocol.rst | ||
| notifications.py | ||
| open_actions.rst | ||
| overview.rst | ||
| performance.rst | ||
| pipe.rst | ||
| pointer-shapes.rst | ||
| press-mentions.rst | ||
| protocol-extensions.rst | ||
| quake-screenshots.rst | ||
| quickstart.rst | ||
| rc_protocol.rst | ||
| remote-control.rst | ||
| requirements.txt | ||
| sessions.rst | ||
| shell-integration.rst | ||
| support.html | ||
| support.rst | ||
| text-sizing-protocol.rst | ||
| underlines.rst | ||
| unscroll.rst | ||
| wide-gamut-colors.rst | ||