summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Klingele <git@leonklingele.de>2018-01-02 22:32:13 +0100
committerMike JS. Choi <mkchoi212@icloud.com>2018-01-02 17:29:10 -0600
commit1148f9823cdb977b199413f701d29be5ebe6d54e (patch)
treeb9f64d740cef818bff38f49d2b72acb2f0514187
parentf3b8a5ccb98a361d48e9d360624b73c603573e6b (diff)
Avoid formatting diff output
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 0ebbfa2..fee6cce 100644
--- a/main.go
+++ b/main.go
@@ -21,7 +21,7 @@ var (
func printLines(v *gocui.View, lines []string) {
for _, line := range lines {
- fmt.Fprintf(v, line)
+ fmt.Fprint(v, line)
}
}