aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--foot.info3
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e6b7a73..a44d8105 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,10 @@
### Added
* `--log-level=none` command-line option.
+* `Tc`, `setrgbf` and `setrgbb` capabilities in `foot` and `foot-direct`
+ terminfo entries. This should make 24-bit RGB colors work in tmux and
+ neovim, without the need for config hacks or detection heuristics
+ (https://codeberg.org/dnkl/foot/issues/615).
### Changed
### Deprecated
diff --git a/foot.info b/foot.info
index 41c23593..37932204 100644
--- a/foot.info
+++ b/foot.info
@@ -24,6 +24,7 @@ foot+base|foot base fragment,
xenl,
AX,
XT,
+ Tc,
cols#80,
it#8,
lines#24,
@@ -255,6 +256,8 @@ foot+base|foot base fragment,
rs1=\Ec,
rs2=\E[!p\E[?3;4l\E[4l\E>,
sc=\E7,
+ setrgbb=\E[48\:2\:\:%p1%d\:%p2%d\:%p3%dm,
+ setrgbf=\E[38\:2\:\:%p1%d\:%p2%d\:%p3%dm,
sgr0=\E(B\E[m,
sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
sitm=\E[3m,