assistant: Improve terminal slash command (#16229)
- Fix terminal slash command not working when terminal tab was placed in center workspace - Removed `--line-count` argument, you can now just pass a number to the slash command e.g. `/terminal 10` will show the last 10 lines of the active terminal - Increase default context lines to 50 - We will revisit this once we add support for only including the last n amount of commands that were run Release Notes: - N/A
This commit is contained in:
parent
340a1d145e
commit
793a90c3e1
2 changed files with 30 additions and 28 deletions
|
@ -65,7 +65,7 @@ actions!(
|
|||
]
|
||||
);
|
||||
|
||||
const DEFAULT_CONTEXT_LINES: usize = 20;
|
||||
const DEFAULT_CONTEXT_LINES: usize = 50;
|
||||
|
||||
#[derive(Clone, Default, Deserialize, PartialEq)]
|
||||
pub struct InlineAssist {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue