Skip to content

Commit dd305cb

Browse files
fix: remove backslash in multi-line input (#832)
1 parent 50b9121 commit dd305cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/q_cli/src/cli/chat/input_source.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ impl InputSource {
4646
continue;
4747
} else if l.ends_with("\\") {
4848
line.push_str(&l);
49+
line.pop();
4950
prompt = ">> ";
5051
continue;
5152
} else {

0 commit comments

Comments
 (0)