diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-04-27 15:02:52 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-04-27 15:02:52 +0300 |
commit | 6f54066c43172fe0197e82fb1034c9ae55d1e1f2 (patch) | |
tree | 8136e34231de96d9557f2fc0f12e499ca6c2978f /ui/view-main.go | |
parent | bc7e2d9a1c871e3fbce932f9695fc24083bc2cc4 (diff) |
Add partial deadlock detection in debug mode
Diffstat (limited to 'ui/view-main.go')
-rw-r--r-- | ui/view-main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/view-main.go b/ui/view-main.go index 2d2afdf..48004c1 100644 --- a/ui/view-main.go +++ b/ui/view-main.go @@ -20,11 +20,12 @@ import ( "bufio" "fmt" "os" - "sync" "sync/atomic" "time" "unicode" + sync "github.com/sasha-s/go-deadlock" + "maunium.net/go/mauview" "maunium.net/go/tcell" |