We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b545a07 commit a52d8a3Copy full SHA for a52d8a3
2 files changed
cli/CHANGELOG.md
@@ -11,6 +11,7 @@
11
12
### Patch
13
14
+- Fix wrapping behavior for input query
15
- Fix shell command output being partially discarded on command exit
16
- Fix deadlock with single queries creating the query session
17
cli/src/cli/interact.rs
@@ -87,7 +87,7 @@ impl Options {
87
let interface = Arc::new(or_fail(linefeed::Interface::new("sec-gemini")));
88
let style = "\0".bold().blue().to_string();
89
let (start, clear) = style.split_once('\0').unwrap();
90
- or_fail(interface.set_prompt(&format!("{clear}> {start}")));
+ or_fail(interface.set_prompt(&format!("\x01{clear}\x02> \x01{start}\x02")));
91
let _ = interface.set_completer(Arc::new(cmds::Completer::new(sdk.clone())));
92
loop {
93
let line = try_to!(
0 commit comments