aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-09-29 17:14:59 -0500
committerRobin Jarry <robin@jarry.cc>2022-10-02 18:47:18 +0200
commit020279108c4234974a26580183ef60945c5bd5cb (patch)
treec6eb4e4cc2d94bd1e1a5209ff28743251a5beb7f /go.mod
parent176a3d989f393988b3fd28ac14633c6716778f3b (diff)
downloadaerc-020279108c4234974a26580183ef60945c5bd5cb.tar.gz
aerc-020279108c4234974a26580183ef60945c5bd5cb.zip
terminal: fix race conditions on access to cmd
Upgrade tcell-term to v0.2.0 Use Start method from tcell-term. This prevents aerc from needing to wait until the command has started to continue. The tcell-term start method blocks until the command is started, similar to cmd.Start. By doing so, we prevent a race condition between aerc and tcell-term on access to cmd.Process. Remove cleanup of cmd, this is all already handled by tcell-term when Close is called. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index 90aa1cec..fb05b461 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module git.sr.ht/~rjarry/aerc
go 1.16
require (
- git.sr.ht/~rockorager/tcell-term v0.1.1-0.20220920200206-237e095b9b99
+ git.sr.ht/~rockorager/tcell-term v0.2.0
git.sr.ht/~sircmpwn/getopt v1.0.0
github.com/ProtonMail/go-crypto v0.0.0-20211221144345-a4f6767435ab
github.com/arran4/golang-ical v0.0.0-20220517104411-fd89fefb0182