From b0f0c3fc48dac590037f9127d2a1c386adbc6f35 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 30 Jan 2022 14:30:01 +0100 Subject: [PATCH] Add terminal compatbility list to README --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 6379d87..a6b19da 100644 --- a/README.md +++ b/README.md @@ -273,6 +273,28 @@ termenv.EnableMouseAllMotion() termenv.DisableMouseAllMotion() ``` +## Compatibility + +| Terminal | Alt Screen | Change Cursor Color | Change Default Foreground Color | Change Default Background Color | Query Color Scheme | Query Cursor Position | Set Window Title | +| ---------------- | :--------: | :-----------------: | :-----------------------------: | :-----------------------------: | :----------------: | :-------------------: | :--------------: | +| alacritty | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| Gnome Terminal | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | +| kitty | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| konsole | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | +| rxvt | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | +| wezterm | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| xterm | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | +| Linux Console | ✅ | ❔ | ❔ | ❔ | ❔ | ❔ | ❔ | +| Apple Terminal | ✅ | ❔ | ❔ | ❔ | ❔ | ❔ | ❔ | +| iTerm | ✅ | ❔ | ❔ | ❔ | ❔ | ❔ | ❔ | +| Power Shell | ✅ | ❔ | ❔ | ❔ | ❔ | ❔ | ❔ | +| Windows Terminal | ✅ | ❔ | ❔ | ❔ | ❔ | ❔ | ❔ | + +### Color Support + +- 24-bit (RGB): alacritty, Gnome Terminal, kitty, konsole, wezterm, Windows Terminal +- 8-bit (256): rxvt, xterm, Apple Terminal + ## Color Chart ![ANSI color chart](https://github.com/muesli/termenv/raw/master/examples/color-chart/color-chart.png)