summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-01-08 22:04:12 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-01-08 22:04:12 +0900
commitefec9acd6f655c7e63d6cda61486c961fdaed443 (patch)
tree6b314e9c6a89b40f42e454e4924c354cc144b414
parent3ed86445e1906eb47679bd2c8a5ee1a01632c883 (diff)
Fix missing mutex unlock
-rw-r--r--src/terminal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal.go b/src/terminal.go
index 32c84584..a442d347 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -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