mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
fix: use char separator for source code addition
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
This commit is contained in:
parent
57f6985740
commit
3ffc914bf5
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ pub async fn show_interface(cmd: Command) -> Result<ExitCode> {
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
if err.is_incomplete_input() {
|
if err.is_incomplete_input() {
|
||||||
prompt_state = PromptState::Continuation;
|
prompt_state = PromptState::Continuation;
|
||||||
source_code.push_str("\n")
|
source_code.push('\n')
|
||||||
} else {
|
} else {
|
||||||
eprintln!("{}", err);
|
eprintln!("{}", err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue