Fix missing mutex unlock

This commit is contained in:
Junegunn Choi 2015-01-08 22:04:12 +09:00
parent 3ed86445e1
commit efec9acd6f

View File

@ -434,6 +434,7 @@ func (t *Terminal) Loop() {
}
switch event.Type {
case C.INVALID:
t.mutex.Unlock()
continue
case C.CTRL_A:
t.cx = 0