Skip to content

Commit

Permalink
Merge pull request #1048 from kuzudb/multi-line-CLI
Browse files Browse the repository at this point in the history
fix multi-line query slow pasting issue
  • Loading branch information
aziz-mu committed Nov 21, 2022
2 parents 8ce2d31 + 8351760 commit acbbd4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/shell/linenoise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ int linenoiseEditInsert(struct linenoiseState* l, char c) {
if (write(l->ofd, &d, 1) == -1)
return -1;
}
if (!pastedInput(l->ifd)) {
if (!pastedInput(l->ifd) && !inputLeft) {
refreshLine(l);
}
} else {
Expand Down

0 comments on commit acbbd4b

Please sign in to comment.