summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-02-20 10:32:38 +0100
committerRobin Jarry <robin@jarry.cc>2022-02-20 21:29:20 +0100
commit726969833bc95fc97f5ee38b435d4ba23b5613d4 (patch)
treeb74a1bd8cf8685ee5ea01473b317c92843c56f05 /go.mod
parent6c460493efafb065822a9bb4454599f5c6522c61 (diff)
downloadaerc-726969833bc95fc97f5ee38b435d4ba23b5613d4.zip
main: use terminfo to set window title
Parse the terminal capabilities from the TERM environment variable instead of using a hard coded list of terminals. tcell does not expose the status line capabilities. Use another library for this: github.com/xo/terminfo Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 3a18379..954e784 100644
--- a/go.mod
+++ b/go.mod
@@ -31,6 +31,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/riywo/loginshell v0.0.0-20200815045211-7d26008be1ab
github.com/stretchr/testify v1.4.0
+ github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
github.com/zenhack/go.notmuch v0.0.0-20211022191430-4d57e8ad2a8b
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect
golang.org/x/net v0.0.0-20211029224645-99673261e6eb // indirect