diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-05-15 12:45:41 +0200 |
|---|---|---|
| committer | Quentin Rameau <quinq@fifth.space> | 2017-06-03 22:28:35 +0200 |
| commit | b331da550b290d54592b7ba11242c92f5a303a48 (patch) | |
| tree | afa6340bacb52ff93fe9dff2026d18700d8072db | |
| parent | 6cb6d61525931c88971cce323f63e40451a6d365 (diff) | |
| download | st-b331da550b290d54592b7ba11242c92f5a303a48.tar.gz st-b331da550b290d54592b7ba11242c92f5a303a48.zip | |
Add color change terminfo capabilities
| -rw-r--r-- | st.info | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -193,9 +193,12 @@ st| simpleterm, | |||
| 193 | 193 | ||
| 194 | st-256color| simpleterm with 256 colors, | 194 | st-256color| simpleterm with 256 colors, |
| 195 | use=st, | 195 | use=st, |
| 196 | ccc, | ||
| 196 | colors#256, | 197 | colors#256, |
| 198 | oc=\E]104\007, | ||
| 197 | pairs#32767, | 199 | pairs#32767, |
| 198 | # Nicked from xterm-256color | 200 | # Nicked from xterm-256color |
| 201 | initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, | ||
| 199 | setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, | 202 | setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, |
| 200 | setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, | 203 | setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, |
| 201 | 204 | ||
