diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2024-02-12 06:26:11 -0600 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-02-12 13:46:18 +0100 |
commit | a11e0bf692b7f17af07252748f105a8277a07196 (patch) | |
tree | d1751d33dbf60ccc0fd71c4d69599dd9d8403cb6 /app/getpasswd.go | |
parent | 7c7a7ba8027e3e12ba88dc54b7f4d882afd2b30a (diff) | |
download | aerc-a11e0bf692b7f17af07252748f105a8277a07196.tar.gz |
parse/ansi: remove tcell/terminfo dependency
The parse library builds an ansi-escaped string based on a buffer of
styled cells. Use constants which aerc will still parse properly (and
are the same as the terminfo package was pulling in) to remove
dependency on tcell/terminfo. Additionally, we can use the internal go
"fmt" package to write strings instead of the terminfo.TParm method
(which is much slower at formatting strings).
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'app/getpasswd.go')
0 files changed, 0 insertions, 0 deletions