Skip to content

Add support for italic#128

Merged
hugovk merged 1 commit intotermcolor:mainfrom
hugovk:add-italic
Dec 29, 2025
Merged

Add support for italic#128
hugovk merged 1 commit intotermcolor:mainfrom
hugovk:add-italic

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Dec 15, 2025

Fixes #119.

Confirmed supported in iTerm and Terminal on macOS.

Not entirely sure about the other support listed in the README, here's some sources:

Terminal Italic Source
xterm yes https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
linux color https://www.man7.org/linux/man-pages/man4/console_codes.4.html - "simulated with color"
rxvt yes https://wiki.archlinux.org/title/Rxvt-unicode
PuTTY no Requires https://github.com/jjjordan/putty-italics

Happy to update to reflect reality :)

@hugovk hugovk added enhancement New feature or request changelog: Added For new features labels Dec 15, 2025
@hugovk hugovk mentioned this pull request Dec 15, 2025
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b300cc3) to head (27bfac6).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #128   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          180       178    -2     
  Branches        22        22           
=========================================
- Hits           180       178    -2     
Flag Coverage Δ
macos-latest 100.00% <ø> (ø)
ubuntu-latest 100.00% <ø> (ø)
windows-latest 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hugovk hugovk merged commit 0980eb5 into termcolor:main Dec 29, 2025
44 of 45 checks passed
@hugovk hugovk deleted the add-italic branch December 29, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: Added For new features enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Italics support

1 participant