Skip to content

Add colored tabs feature - #1112

Open
vlasix wants to merge 1 commit into
gnome-terminator:masterfrom
vlasix:feature/colored-tabs
Open

Add colored tabs feature#1112
vlasix wants to merge 1 commit into
gnome-terminator:masterfrom
vlasix:feature/colored-tabs

Conversation

@vlasix

@vlasix vlasix commented Aug 27, 2026

Copy link
Copy Markdown

Summary

Adds support for custom tab colors.

This allows users to visually distinguish tabs used for different
servers, environments or tasks.

Motivation

Implements the custom tab colors part of #1102.

Implementation

  • Tabs can now store a custom background color.
  • The color is saved with the notebook layout so it persists when the layout is reopened.
  • A tab’s color can be changed from the right-click context via a color picker dialog.
  • The selected color is applied to the tab using a CSS class, with a text color chosen for contrast (black or white depending on brightness).
  • The tab label also handles button events more reliably so right-click actions work across the clickable area.
  • Preserves the existing behavior when no custom tab color is configured.

Tests

  • Tested manually on Ubuntu
  • python3 -m compileall -f terminatorlib/ tests/ remotinator terminator
  • xvfb-run -a pytest

Screenshots

terminator-1 terminator-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants