Make mouse option global option

Fixes #816
This commit is contained in:
Zachary Yedidia
2017-09-21 17:10:53 -04:00
parent 6229a0579f
commit cb75531818
3 changed files with 12 additions and 13 deletions

View File

@@ -188,10 +188,6 @@ func NewBuffer(reader io.Reader, size int64, path string) *Buffer {
file.Close()
}
if b.Settings["mouse"].(bool) {
screen.EnableMouse()
}
if !b.Settings["fastdirty"].(bool) {
b.origHash = md5.Sum([]byte(b.String()))
}