Skip to content

feat: add command display with syntax highlighting#499

Merged
pamburus merged 1 commit intomainfrom
feature/executed-command
Feb 3, 2026
Merged

feat: add command display with syntax highlighting#499
pamburus merged 1 commit intomainfrom
feature/executed-command

Conversation

@pamburus
Copy link
Owner

@pamburus pamburus commented Feb 2, 2026

Adds the ability to show executed commands in terminal screenshots with optional syntax highlighting.

New Features:

  • Show commands in terminal output using --show-command flag
  • Customize command prompt with --command-prompt option
  • Apply syntax highlighting with --syntax-theme option
  • List available syntax themes with --list-syntax-themes
  • Filter themes by appearance (dark/light) using tags
  • Configure defaults in cargo.toml [command] and [syntax] sections

This allows including syntax-highlighted command prompts in terminal screenshots, making them more informative and visually appealing.

Closes #498

@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

❌ Patch coverage is 82.39437% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.27%. Comparing base (820ff7b) to head (8b5df28).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/main.rs 65.95% 16 Missing ⚠️
src/syntax.rs 84.48% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #499      +/-   ##
==========================================
+ Coverage   77.21%   77.27%   +0.05%     
==========================================
  Files          29       31       +2     
  Lines        4021     4140     +119     
==========================================
+ Hits         3105     3199      +94     
- Misses        916      941      +25     

☔ 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.

@pamburus pamburus force-pushed the feature/executed-command branch 6 times, most recently from f1b626a to f0eb288 Compare February 3, 2026 01:09
@pamburus pamburus marked this pull request as ready for review February 3, 2026 01:14
@pamburus pamburus marked this pull request as draft February 3, 2026 01:17
@pamburus pamburus force-pushed the feature/executed-command branch 3 times, most recently from 770ee7b to 4c1b99a Compare February 3, 2026 20:22
Adds the ability to show executed commands in terminal screenshots with optional syntax highlighting.

New Features:
- Show commands in terminal output using --show-command flag
- Customize command prompt with --command-prompt option
- Apply syntax highlighting with --syntax-theme option
- List available syntax themes with --list-syntax-themes
- Filter themes by appearance (dark/light) using tags
- Configure defaults in config.toml [command] and [syntax] sections

This allows including syntax-highlighted command prompts in terminal screenshots, making them more informative and visually appealing.
@pamburus pamburus force-pushed the feature/executed-command branch from 4c1b99a to 8b5df28 Compare February 3, 2026 20:33
@pamburus pamburus marked this pull request as ready for review February 3, 2026 20:43
@pamburus pamburus merged commit 7abc5b8 into main Feb 3, 2026
12 checks passed
@pamburus pamburus deleted the feature/executed-command branch February 3, 2026 20:43
@pamburus pamburus added the enhancement New feature or request label Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to show the executed command in the terminal output

1 participant