Add some tests

This commit is contained in:
Zachary Yedidia
2016-03-25 13:42:41 -04:00
parent df409630d2
commit 770ad7f444
4 changed files with 95 additions and 0 deletions

View File

@@ -84,6 +84,10 @@ func NewViewWidthHeight(buf *Buffer, m *Messenger, w, h int) *View {
view: v,
}
// Set mouseReleased to true because we assume the mouse is not being pressed when
// the editor is opened
v.mouseReleased = true
return v
}