From 6f54066c43172fe0197e82fb1034c9ae55d1e1f2 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 27 Apr 2019 15:02:52 +0300 Subject: Add partial deadlock detection in debug mode --- ui/view-main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/view-main.go') 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" -- cgit v1.2.3