Skip to content

Conversation

@lauft
Copy link
Member

@lauft lauft commented Nov 25, 2025

The 'Table' component from libshared has its own TTY check. To adhere to the color setting of the main calculation it has to be overridden.

Closes #727

lauft added a commit to GothenburgBitFactory/libshared that referenced this pull request Dec 6, 2025
Check for tty should be done in the application and passed to the table.
Replace tty check with explicit setting for colored output.

Relates to GothenburgBitFactory/timewarrior#727 GothenburgBitFactory/timewarrior#730

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
lauft added a commit to GothenburgBitFactory/libshared that referenced this pull request Dec 7, 2025
Check for tty should be done in the application and passed to the table.
Replace tty check with explicit setting for colored output.

Relates to GothenburgBitFactory/timewarrior#727 GothenburgBitFactory/timewarrior#730

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
lauft added a commit to GothenburgBitFactory/libshared that referenced this pull request Dec 7, 2025
Check for tty should be done in the application and passed to the table.
Replace tty check with explicit setting for colored output.

Relates to GothenburgBitFactory/timewarrior#727 GothenburgBitFactory/timewarrior#730

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
lauft added a commit to GothenburgBitFactory/libshared that referenced this pull request Dec 7, 2025
Check for tty should be done in the application and passed to the table.
Replace tty check with explicit setting for colored output.

Relates to GothenburgBitFactory/timewarrior#727 GothenburgBitFactory/timewarrior#730

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
@lauft lauft force-pushed the issue/727 branch 2 times, most recently from 7653dbf to 261e6ea Compare December 7, 2025 20:33
The builders of the tags and summary table did not pass the value of the color setting.
Also, the 'Table' component had an internal TTY check which could interfere with the color setting of the main application.

Add test for color hint
Reapply command line hints after loading config files

Closes #727

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
@lauft lauft merged commit 03d2c99 into develop Dec 22, 2025
33 checks passed
@lauft lauft deleted the issue/727 branch December 22, 2025 21:06
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.

:color hint does not work with the summary report

2 participants