Github user jianqiao commented on a diff in the pull request:
https://github.com/apache/incubator-quickstep/pull/299#discussion_r140061423
--- Diff: cli/LineReader.cpp ---
@@ -171,7 +173,7 @@ std::string LineReader::getNextCommand() {
case '.':
case '\\': // Fall Through.
// If the dot or forward slash begins the line, begin a
command search.
- if (scan_position == 0) {
+ if (special_char_location ==
multiline_buffer.find_first_not_of(" \t\r\n")) {
--- End diff --
Yes it should cover all the possible situations.
---