1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-17 01:42:45 +02:00

bump gocui

This commit is contained in:
Jesse Duffield
2019-10-30 20:50:21 +11:00
parent 820f3d5cbb
commit 4f2c42ea47
5 changed files with 6 additions and 10 deletions

View File

@ -217,9 +217,6 @@ func (v *View) Cursor() (x, y int) {
// implement Horizontal and Vertical scrolling with just incrementing
// or decrementing ox and oy.
func (v *View) SetOrigin(x, y int) error {
if x < 0 || y < 0 {
return errors.New("invalid point")
}
v.ox = x
v.oy = y
return nil