summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--up.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/up.go b/up.go
index 9b4c7b9..e89277e 100644
--- a/up.go
+++ b/up.go
@@ -367,7 +367,8 @@ func (v *BufView) DrawTo(region Region) {
x++
}
for ; y < region.H; y++ {
- endline(0, y)
+ endline(x, y)
+ x = 0
}
}
@@ -585,6 +586,7 @@ func StartSubprocess(command string, stdin *Buf, notify func()) *Subprocess {
err = cmd.Wait()
if err != nil {
fmt.Fprintf(w, "up: %s", err)
+ log.Printf("Wait returned error: %s", err)
}
w.Close()
}()