Skip to content

Commit a8d4272

Browse files
committed
Fix bug in cursor size reporting
1 parent f6fa5cc commit a8d4272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cursor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func (c *Cursor) Position() (int, int) {
1717
}
1818

1919
func (c *Cursor) Size() (int, int) {
20-
return c.height, c.width
20+
return (c.height + 1), (c.width + 1)
2121
}
2222

2323
func (c *Cursor) Up() bool {

0 commit comments

Comments
 (0)