-
-
Notifications
You must be signed in to change notification settings - Fork 775
feat(tasks): Add task_show_full_cmd setting #7344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new configuration setting task_show_cmd_no_trunc that allows users to disable truncation of command lines in task execution output. When enabled, the full command line will be displayed regardless of terminal width.
- Introduces
task_show_cmd_no_truncboolean setting configurable viaMISE_TASK_SHOW_CMD_NO_TRUNCenvironment variable - Modifies the
trunc()function to check this setting and skip truncation when enabled - Optimizes settings access by reusing the same
Settings::get()call
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/task/task_output.rs | Updates trunc() function to respect the new task_show_cmd_no_trunc setting and refactors to use a single settings instance |
| settings.toml | Adds configuration definition for the new task_show_cmd_no_trunc boolean setting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Open to suggestions for better name for the setting. Can add another setting to only print out first |
|
definitely needs a different name |
fdd59d4 to
2082333
Compare
|
Renamed |
No description provided.