diff options
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ func Readline() string { // Read a line from stdin reader := bufio.NewReader(os.Stdin) text, _ := reader.ReadString('\n') - return text[:len(text)-1] + return strings.TrimRight(text, "\n") } func ExecuteDoltCommand(args ...string) { |