diff options
author | Joop Kiefte <ikojba@gmail.com> | 2023-09-28 02:22:14 +0100 |
---|---|---|
committer | Joop Kiefte <ikojba@gmail.com> | 2023-09-28 02:22:14 +0100 |
commit | f96bd87db4dd3e0d1a1785b5a6022acce33b5ae0 (patch) | |
tree | afed16dc05cb1c45f398b986ad9513c6942b7549 | |
parent | 8522596998d08c317ff8dd6e183f4ed99cd477af (diff) |
Remove readline newline
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ func Readline() string { // Read a line from stdin reader := bufio.NewReader(os.Stdin) text, _ := reader.ReadString('\n') - return text + return text[:len(text)-1] } func ExecuteDoltCommand(args ...string) { |