summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-05 19:07:46 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-05 19:10:46 +1000
commit422b263df425aceb68f446d41ce359370f188be1 (patch)
tree4a40bf8b8b2766ce3f77efbe94e0b57f62622e49 /vendor
parentc1bf1e52b0e2bbe25a99a1cc10826fd138b7c7f9 (diff)
fix popup panel resizing
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/jesseduffield/gocui/edit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/jesseduffield/gocui/edit.go b/vendor/github.com/jesseduffield/gocui/edit.go
index a5e6f690b..c339d75fb 100644
--- a/vendor/github.com/jesseduffield/gocui/edit.go
+++ b/vendor/github.com/jesseduffield/gocui/edit.go
@@ -114,8 +114,8 @@ func (v *View) EditDelete(back bool) {
func (v *View) EditNewLine() {
v.breakLine(v.cx, v.cy)
v.ox = 0
+ v.cy = v.cy + 1
v.cx = 0
- v.MoveCursor(0, 1, true)
}
// MoveCursor moves the cursor taking into account the width of the line/view,