summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-09-10 23:38:59 +0200
committerBoris Faure <billiob@gmail.com>2015-09-16 19:20:45 +0200
commit8fed6980362c44744596aae6dd9ea8beaf65271f (patch)
treef2e24d35b3ab57e9ad6cffc0ae79d8759edb7ed8
parent35813be3ca8a8983c20df9d61092985a96ece71d (diff)
fix backlog locking
-rw-r--r--src/bin/termpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 5ff680b..73c76e9 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -977,7 +977,7 @@ termpty_resize(Termpty *ty, int new_w, int new_h)
977 if ((new_w == new_h) && (new_w == 1)) return; // FIXME: something weird is 977 if ((new_w == new_h) && (new_w == 1)) return; // FIXME: something weird is
978 // going on at term init 978 // going on at term init
979 979
980 termpty_backlog_unlock(); 980 termpty_backlog_lock();
981 981
982 if (ty->altbuf) 982 if (ty->altbuf)
983 { 983 {