aboutsummaryrefslogtreecommitdiff
path: root/ui/message-view.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-04-27 15:02:52 +0300
committerTulir Asokan <tulir@maunium.net>2019-04-27 15:02:52 +0300
commit6f54066c43172fe0197e82fb1034c9ae55d1e1f2 (patch)
tree8136e34231de96d9557f2fc0f12e499ca6c2978f /ui/message-view.go
parentbc7e2d9a1c871e3fbce932f9695fc24083bc2cc4 (diff)
Add partial deadlock detection in debug mode
Diffstat (limited to 'ui/message-view.go')
-rw-r--r--ui/message-view.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/message-view.go b/ui/message-view.go
index 43c757f..75cd022 100644
--- a/ui/message-view.go
+++ b/ui/message-view.go
@@ -20,10 +20,10 @@ import (
"fmt"
"math"
"strings"
- "sync"
"sync/atomic"
"github.com/mattn/go-runewidth"
+ sync "github.com/sasha-s/go-deadlock"
"maunium.net/go/mauview"
"maunium.net/go/tcell"