Preview: A More Readable Tab Bar
This is a preview of Nash 0.13.7, planned for November 13. Its tab appearance controls make a busy window easier to scan without requiring every tab to have a short, carefully chosen name.
Give Titles Predictable Room
The bundled configuration uses equal-width tabs capped at 320 points. With a few tabs, each gets that width and leaves the remaining bar free. As more tabs arrive, they shrink together. Long titles end with an ellipsis rather than deciding how much space neighboring tabs receive.
If you prefer compact tabs that follow their titles, set fill_max_width = 0.
That is also the underlying default when the bundled setting is not applied.
Points are useful for a consistent physical size across display densities.
Here is a small appearance adjustment for ~/.config/nash/nash.toml; merge
these fields into your existing tables rather than duplicating their headers:
[tab]
fill_max_width = '320pt'
font_weight = 'Regular'
corner_radius = '6pt'
show_close_button = 'on_hover'
[tab.highlight]
style = 'top_line'
animate = falseTitle weight is independent of terminal text weight. Rounding can likewise be a
fixed point size, as above, or scale with the title font using cells; 0 makes
square tabs. Hover-only close buttons keep the bar quieter, although severely
crowded tabs can hide close buttons to preserve usable tab targets.
Keep Color Without Motion
The top_line style marks the active tab with a stroke. Inactive tabs with
assigned custom colors retain small, dimmed pills along their top edges, so you
can recognize a project without making every tab a solid block of color. Tabs
without custom colors have no inactive pill.
Setting animate = false makes the active stroke appear immediately; it does
not remove those pills. Choose style = 'none' if you want all native
highlight decorations off instead.
For an explicit active and hovered background, add
active_background = '#322b50' under [tab]. With an empty value, a theme's
tab_bg takes precedence; otherwise Nash uses the active folded-pane fill.
Older copied themes.toml files may still contain tab_bg, so remove that
entry if you want the fallback. Prefer full six- or eight-digit hex colors. The
tinted highlight style supplies its own background and ignores this field.
These native decorations do not override a successful Lua format-tab-title
handler. See tabs and windows
for everyday tab controls and the 0.13.7 release notes for
the release details.