Skip to content

pango-like markup in tab title template? #3763

@chipaca

Description

@chipaca

Is your feature request related to a problem? Please describe.

Currently my tab_title_template has the very hacky (avert your eyes!),

tab_title_template "{fmt.nobold}{'¹²³⁴⁵⁶⁷⁸⁹'[index-1]}{fmt.bold}{title}"

(this relies on how kitty falls back to the default {title} when the custom one throws an error)
This is particularly useful for me because I've bound alt+1 through alt+9 to the first 9 tabs (and alt+0 to the last)

Describe the solution you'd like

It would be nice to be able to have some kind of markup in there (thinking pango markup, but that would be a rather big new dependency).

Describe alternatives you've considered

My current approach is probably fine.

Additional context
123 all the things
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions