contour
Tested Software version 0.7.1-master-9f0850ce on Linux. The homepage URL of this terminal is https://contour-terminal.org/. Full results available at ucs-detect repository path data/contour.yaml.
Score Breakdown
Detailed breakdown of how scores are calculated for contour:
# |
Score Type |
Raw Score |
Final Scaled Score |
|---|---|---|---|
1 |
100.00% |
100.0% |
|
2 |
100.00% |
100.0% |
|
3 |
100.00% |
100.0% |
|
4 |
100.00% |
100.0% |
|
5 |
100.00% |
100.0% |
|
6 |
100.00% |
(excluded) |
|
7 |
100.00% |
100.0% |
|
8 |
100.00% |
100.0% |
|
9 |
100.00% |
100.0% |
|
10 |
94.44% |
94.4% |
|
11 |
100% |
100.0% |
|
12 |
51.0% |
51.0% |
Score Comparison Plot:
The following plot shows how this terminal’s scores compare to all other terminals tested.
Scaled scores comparison across all metrics (normalized 0-100%)
Final Scaled Score Calculation:
Raw Final Score: 99.32% (weighted average: WIDE + NARROW + ZWJ + LANG + VS16 + 0.33 * SRI + 0.33 * SFZ + RI + CAP + 0.5 * GFX) the categorized ‘average’ absolute support level of this terminal.
Note
RSC (Resources) is a composite CPU, memory, and runtime score, displayed for comparison but excluded from the final score FEAT (Features) is the fraction of notable features supported. GFX (Graphics) scores 100% for modern protocols (iTerm2, Kitty), 50% for legacy only (Sixel, ReGIS), 0% for none.
Final Scaled Score: 98.9% (normalized across all terminals tested). Final Scaled scores are normalized (0-100%) relative to all terminals tested
WIDE Score Details:
Wide character support calculation:
Total successful contested codepoints: 506
Total contested codepoints tested: 506
Formula: 506 / 506
Result: 100.00%
NARROW Score Details:
Narrow character support calculation:
Total successful contested codepoints: 5595
Total contested codepoints tested: 5595
Formula: 5595 / 5595
Result: 100.00%
ZWJ Score Details:
Emoji ZWJ (Zero-Width Joiner) support calculation:
Total successful sequences: 1445
Total sequences tested: 1445
Formula: 1445 / 1445
Result: 100.00%
VS16 Score Details:
Variation Selector-16 support calculation:
Errors: 0 of 426 codepoints tested
Success rate: 100.0%
Formula: 100.0 / 100
Result: 100.00%
Variation Selector-15 support:
Note
Interpretation of VS-15 is contested. Its width behavior is not consistently implemented across terminals; this measurement is informational and excluded from final scoring.
Variation Selector-15 support calculation:
Errors: 158 of 158 codepoints tested
Success rate: 0.0%
Formula: 0.0 / 100
Result: 100.00% † (Text Sizing protocol)
SRI Score Details:
Standalone Regional Indicator support calculation:
Total successful codepoints: 26
Total codepoints tested: 26
Formula: 26 / 26
Result: 100.00%
SFZ Score Details:
Standalone Fitzpatrick skin tone modifier support calculation:
Total successful codepoints: 5
Total codepoints tested: 5
Formula: 5 / 5
Result: 100.00%
RI Score Details:
Regional Indicator flag sequence support calculation:
Total successful sequences: 262
Total sequences tested: 262
Formula: 262 / 262
Result: 100.00%
Features Score Details:
Notable terminal features (17.0 / 18):
XTGETTCAP (Full): yes
Text Sizing (OSC 66): yes
Tofu Detection: no
OSC 52 Clipboard: yes
Truecolor Detection: yes
Raw score: 94.44%
Graphics Score Details:
Graphics protocol support (100%):
Sixel: yes
ReGIS: yes
iTerm2: no
Kitty: yes
Scoring: 100% for modern (iTerm2/Kitty), 50% for legacy only (Sixel/ReGIS), 0% for none
Resource Score Details:
Duration: 27.0s
Mean CPU: 37.6%
Mean RSS: 202.2 MB
Resources Score: 51/100
Note: log-scale composite cost = log(CPU+1) + log(RSS+1) + log(time+1)
Scaled result: 51.0%
LANG Score Details (Geometric Mean):
Geometric mean calculation:
Formula: (p₁ × p₂ × … × pₙ)^(1/n) where n = 85 contested languages
About geometric mean
Result: 100.00% † (Text Sizing protocol)
Wide character support
Wide character support of contour is 97.8% (976 errors of 44568 codepoints tested).
Sequence of a WIDE character, from midpoint of alignment failure records:
# |
Codepoint |
Python |
Category |
wcwidth |
Name |
|---|---|---|---|---|---|
1 |
‘\U00018fe8’ |
Cn |
2 |
na |
Total codepoints: 1
Shell test using printf(1),
'|'should align in output:$ printf "\xf0\x98\xbf\xa8|\\n12|\\n" | 12|
Screenshot:
python wcwidth.wcswidth() measures width 2, while contour measures width 1.
Narrow character support
Narrow character support of contour is 100.0% (0 errors of 36254 codepoints tested).
Emoji ZWJ support
Compatibility of contour with the Unicode Emoji ZWJ sequence table is 100.0% (0 errors of 1445 sequences tested).
Variation Selector-16 support
Emoji VS-16 results for contour is 0 errors out of 426 total codepoints tested, 100.0% success. All codepoint combinations with Variation Selector-16 tested were successful.
Variation Selector-15 support
Emoji VS-15 results for contour is 158 errors out of 158 total codepoints tested, 0.0% success. Sequence of a WIDE Emoji made NARROW by Variation Selector-15, from midpoint of alignment failure records:
# |
Codepoint |
Python |
Category |
wcwidth |
Name |
|---|---|---|---|---|---|
1 |
‘\U0001f3ae’ |
So |
2 |
VIDEO GAME |
|
2 |
‘\ufe0e’ |
Mn |
0 |
VARIATION SELECTOR-15 |
Total codepoints: 2
Shell test using printf(1),
'|'should align in output:$ printf "\xf0\x9f\x8e\xae\xef\xb8\x8e|\\n1|\\n" 🎮︎| 1|
Screenshot:
python wcwidth.wcswidth() measures width 1, while contour measures width 2.
Standalone Regional Indicator support
Standalone Regional Indicator support of contour is 100.0% (0 errors of 26 codepoints tested).
Standalone Fitzpatrick modifier support
Standalone Fitzpatrick skin tone modifier support of contour is 100.0% (0 errors of 5 codepoints tested).
Regional Indicator flag sequence support
Regional Indicator flag sequence support of contour is 100.0% (0 errors of 262 sequences tested).
Graphics Protocol Support
contour supports the following graphics protocols: Sixel, ReGIS, Kitty graphics.
Detection Methods:
Sixel and ReGIS: Detected via the Device Attributes (DA1) query
CSI c(\x1b[c). Sixel indicator (4): present, ReGIS indicator (3): present.Kitty graphics: Detected by sending a Kitty graphics query and checking for an
OKresponse.iTerm2 inline images: Not detected by drawing a 1x1 transparent image,
OSC 1337 ; File=inline=1, and checking that the cursor advanced a single column.iTerm2 capabilities: Detected via the
OSC 1337 ; Capabilitiesquery, which does not describe image support, and does not contribute to this score.
Device Attributes
Raw response:
'\x1b[?65;1;3;4;7;9;18;21;22;29;52;314c'Service class: 65 (VT525)
Detected Extensions:
Code
Description
1
132-column mode
3
ReGIS graphics
4
Sixel graphics
7
Soft character sets (DRCS)
9
National replacement charsets
18
User windows
21
Horizontal scrolling
22
ANSI color
29
Text locator (mouse)
52
OSC 52 clipboard
314
Pixel geometry
Language Support
The following 116 languages were tested with 100% success:
(Jinan), (Yeonbyeon), Aja, Amarakaeri, Arabic, Standard, Assyrian Neo-Aramaic, Baatonum, Bamun, Belanda Viri, Bengali, Bhojpuri, Bora, Burmese, Catalan (2), Chakma, Chickasaw, Chinantec, Chiltepec, Chinese, Gan, Chinese, Hakka, Chinese, Jinyu, Chinese, Mandarin (Beijing), Chinese, Mandarin (Guiyang), Chinese, Mandarin (Harbin), Chinese, Mandarin (Nanjing), Chinese, Mandarin (Simplified), Chinese, Mandarin (Tianjin), Chinese, Mandarin (Traditional), Chinese, Min Nan, Chinese, Wu, Chinese, Xiang, Chinese, Yue, Colorado, Dagaare, Southern, Dangme, Dari, Dendi, Dinka, Northeastern, Ditammari, Dzongkha, Evenki, Farsi, Western, Fon, French (Welche), Fur, Ga, Gen, Gilyak, Gujarati, Gumuz, Hindi, Japanese, Japanese (Osaka), Japanese (Tokyo), Javanese (Javanese), Kabyle, Kannada, Khmer, Central, Korean, Lamnso’, Lao, Lingala (tones), Magahi, Maithili, Maldivian, Maori (2), Marathi, Mazahua Central, Mirandese, Mixtec, Metlatónoc, Mon, Mongolian, Halh (Mongolian), Mòoré, Nanai, Navajo, Nepali, Nuosu, Orok, Otomi, Mezquital, Panjabi, Eastern, Panjabi, Western, Pashto, Northern, Picard, Pular (Adlam), Saint Lucian Creole French, Sanskrit, Sanskrit (Grantha), Secoya, Seraiki, Shan, Shipibo-Conibo, Sinhala, Siona, South Azerbaijani, Tagalog (Tagalog), Tai Dam, Tamang, Eastern, Tamazight, Central Atlas, Tamil, Tamil (Sri Lanka), Telugu, Tem, Thai, Thai (2), Tibetan, Central, Ticuna, Uduk, Urdu, Urdu (2), Veps, Vietnamese, Vietnamese (Han nom), Waama, Yaneshaʼ, Yiddish, Eastern, Yoruba, Éwé.
The following 2 languages are not fully supported:
lang |
n_errors |
n_total |
pct_success |
|---|---|---|---|
71 |
419 |
83.1% |
|
1 |
844 |
99.9% |
Khün
Sequence of language Khün from midpoint of alignment failure records:
# |
Codepoint |
Python |
Category |
wcwidth |
Name |
|---|---|---|---|---|---|
1 |
‘\u1a20’ |
Lo |
1 |
TAI THAM LETTER HIGH KA |
|
2 |
‘\u1a6e’ |
Mc |
0 |
TAI THAM VOWEL SIGN E |
|
3 |
‘\u1a60’ |
Mn |
0 |
TAI THAM SIGN SAKOT |
|
4 |
‘\u1a2f’ |
Lo |
1 |
TAI THAM LETTER DA |
|
5 |
‘\u1a68’ |
Mn |
0 |
TAI THAM VOWEL SIGN UUE |
Total codepoints: 5
Shell test using printf(1),
'|'should align in output:$ printf "\xe1\xa8\xa0\xe1\xa9\xae\xe1\xa9\xa0\xe1\xa8\xaf\xe1\xa9\xa8|\\n12|\\n" ᨠᩮ᩠ᨯᩨ| 12|
Screenshot:
python wcwidth.wcswidth() measures width 2, while contour measures width 3.
Malayalam
Sequence of language Malayalam from midpoint of alignment failure records:
# |
Codepoint |
Python |
Category |
wcwidth |
Name |
|---|---|---|---|---|---|
1 |
‘\u0d7b’ |
Lo |
1 |
MALAYALAM LETTER CHILLU N |
|
2 |
‘\u0d4d’ |
Mn |
0 |
MALAYALAM SIGN VIRAMA |
|
3 |
‘\u0d31’ |
Lo |
1 |
MALAYALAM LETTER RRA |
|
4 |
‘\u0d46’ |
Mc |
0 |
MALAYALAM VOWEL SIGN E |
Total codepoints: 4
Shell test using printf(1),
'|'should align in output:$ printf "\xe0\xb5\xbb\xe0\xb5\x8d\xe0\xb4\xb1\xe0\xb5\x86|\\n12|\\n" ൻ്റെ| 12|
Screenshot:
python wcwidth.wcswidth() measures width 2, while contour measures width 3.
DEC Private Modes Support
DEC private modes results for contour: 8 changeable modes of 8 supported out of 8 total modes tested (100.0% support, 100.0% changeable).
Complete list of DEC private modes tested:
Mode |
Name |
Description |
Supported |
Changeable |
Enabled |
|---|---|---|---|---|---|
1004 |
FOCUS_IN_OUT_EVENTS |
Send FocusIn/FocusOut events |
Yes |
Yes |
No |
1006 |
MOUSE_EXTENDED_SGR |
Enable SGR Mouse Mode |
Yes |
Yes |
No |
2004 |
BRACKETED_PASTE |
Set bracketed paste mode |
Yes |
Yes |
No |
2026 |
SYNCHRONIZED_OUTPUT |
Synchronized Output |
Yes |
Yes |
No |
2027 |
GRAPHEME_CLUSTERING |
Grapheme Clustering |
Yes |
Yes |
Yes |
2031 |
COLOR_PALETTE_UPDATES |
Color palette updates |
Yes |
Yes |
No |
2048 |
IN_BAND_WINDOW_RESIZE |
In-Band Window Resize Notifications |
Yes |
Yes |
No |
5522 |
BRACKETED_PASTE_MIME |
Bracketed Paste MIME |
Yes |
Yes |
No |
Summary: 8 changeable, 0 not changeable.
Kitty Keyboard Protocol
contour supports the Kitty keyboard protocol.
# |
Flag |
Key |
Supported |
|---|---|---|---|
1 |
Disambiguate escape codes |
|
Yes |
2 |
Report event types |
|
Yes |
3 |
Report alternate keys |
|
Yes |
4 |
Report all keys as escape codes |
|
Yes |
5 |
Report associated text |
|
Yes |
Detection is performed by enabling all progressive enhancement
modes by set (CSI = 31 ; 1 u) and re-querying with CSI ? u
to confirm which modes the terminal honors, before restoring its
original flags.
XTGETTCAP (Terminfo Capabilities)
contour supports the XTGETTCAP sequence and reports 192 terminfo capabilities (Full).
# |
Capability |
Description |
Value |
|---|---|---|---|
1 |
Cs |
Reset cursor color |
|
2 |
E3 |
Erase scrollback |
|
3 |
RGB |
Bits per color channel (8 = 24-bit truecolor) |
|
4 |
Rmol |
Reset overline mode |
|
5 |
Se |
Reset underline style |
|
6 |
Setulc |
Set underline color |
|
7 |
Smol |
Set overline mode |
|
8 |
Smulx |
Styled underline |
|
9 |
Ss |
Set underline style |
|
10 |
Su |
Colored underlines |
(empty) |
11 |
Sync |
Synchronized output |
|
12 |
TN |
Terminal name |
|
13 |
Tc |
Truecolor (24-bit RGB) |
(empty) |
14 |
acsc |
Alternate character set |
|
15 |
am |
Auto right margin |
(empty) |
16 |
bce |
Background color erase |
(empty) |
17 |
bel |
Bell |
|
18 |
bold |
Enter bold mode |
|
19 |
ccc |
Can redefine colors |
(empty) |
20 |
civis |
Hide cursor |
|
21 |
clear |
Clear screen |
|
22 |
cnorm |
Normal cursor |
|
23 |
colors |
Max colors on screen |
|
24 |
cols |
Columns |
|
25 |
cr |
Carriage return |
|
26 |
csr |
Change scroll region |
|
27 |
cub |
Cursor left n |
|
28 |
cub1 |
Cursor left |
|
29 |
cud |
Cursor down n |
|
30 |
cud1 |
Cursor down |
|
31 |
cuf |
Cursor right n |
|
32 |
cuf1 |
Cursor right |
|
33 |
cup |
Cursor address |
|
34 |
cuu |
Cursor up n |
|
35 |
cuu1 |
Cursor up |
|
36 |
cvvis |
Very visible cursor |
|
37 |
dch |
Delete n characters |
|
38 |
dch1 |
Delete character |
|
39 |
dim |
Enter dim mode |
|
40 |
dl |
Delete n lines |
|
41 |
dl1 |
Delete line |
|
42 |
dsl |
Disable status line |
|
43 |
ech |
Erase characters |
|
44 |
ed |
Clear to end of screen |
|
45 |
el |
Clear to end of line |
|
46 |
el1 |
Clear to start of line |
|
47 |
eslok |
Status line escape OK |
(empty) |
48 |
flash |
Flash screen |
|
49 |
fsl |
From status line |
|
50 |
home |
Cursor home |
|
51 |
hpa |
Horizontal position |
|
52 |
hs |
Has status line |
(empty) |
53 |
ht |
Horizontal tab |
|
54 |
hts |
Set tab stop |
|
55 |
ich |
Insert n characters |
|
56 |
il |
Insert n lines |
|
57 |
il1 |
Insert line |
|
58 |
ind |
Scroll forward |
|
59 |
indn |
Scroll forward n |
|
60 |
initc |
Initialize color |
|
61 |
invis |
Invisible cursor |
|
62 |
it |
Init tabs |
|
63 |
kDC |
Shifted delete-char key |
|
64 |
kDC3 |
Alt delete-char key |
|
65 |
kDC4 |
Alt-Shift delete-char key |
|
66 |
kDC5 |
Ctrl delete-char key |
|
67 |
kDC6 |
Ctrl-Shift delete-char key |
|
68 |
kDC7 |
Ctrl-Alt delete-char key |
|
69 |
kDN |
Shifted down-arrow key |
|
70 |
kDN3 |
Alt down-arrow key |
|
71 |
kDN4 |
Alt-Shift down-arrow key |
|
72 |
kDN5 |
Ctrl down-arrow key |
|
73 |
kDN6 |
Ctrl-Shift down-arrow key |
|
74 |
kDN7 |
Ctrl-Alt down-arrow key |
|
75 |
kEND |
Shifted end key |
|
76 |
kEND3 |
Alt end key |
|
77 |
kEND4 |
Alt-Shift end key |
|
78 |
kEND5 |
Ctrl end key |
|
79 |
kEND6 |
Ctrl-Shift end key |
|
80 |
kEND7 |
Ctrl-Alt end key |
|
81 |
kHOM |
Shifted home key |
|
82 |
kHOM3 |
Alt home key |
|
83 |
kHOM4 |
Alt-Shift home key |
|
84 |
kHOM5 |
Ctrl home key |
|
85 |
kHOM6 |
Ctrl-Shift home key |
|
86 |
kHOM7 |
Ctrl-Alt home key |
|
87 |
kIC |
Shifted insert-char key |
|
88 |
kIC3 |
Alt insert-char key |
|
89 |
kIC4 |
Alt-Shift insert-char key |
|
90 |
kIC5 |
Ctrl insert-char key |
|
91 |
kIC6 |
Ctrl-Shift insert-char key |
|
92 |
kIC7 |
Ctrl-Alt insert-char key |
|
93 |
kLFT |
Shifted left-arrow key |
|
94 |
kLFT3 |
Alt left-arrow key |
|
95 |
kLFT4 |
Alt-Shift left-arrow key |
|
96 |
kLFT5 |
Ctrl left-arrow key |
|
97 |
kLFT6 |
Ctrl-Shift left-arrow key |
|
98 |
kLFT7 |
Ctrl-Alt left-arrow key |
|
99 |
kNXT |
Shifted next-page key |
|
100 |
kNXT3 |
Alt next-page key |
|
101 |
kNXT4 |
Alt-Shift next-page key |
|
102 |
kNXT5 |
Ctrl next-page key |
|
103 |
kNXT6 |
Ctrl-Shift next-page key |
|
104 |
kNXT7 |
Ctrl-Alt next-page key |
|
105 |
kPRV |
Shifted previous-page key |
|
106 |
kPRV3 |
Alt previous-page key |
|
107 |
kPRV4 |
Alt-Shift previous-page key |
|
108 |
kPRV5 |
Ctrl previous-page key |
|
109 |
kPRV6 |
Ctrl-Shift previous-page key |
|
110 |
kPRV7 |
Ctrl-Alt previous-page key |
|
111 |
kRIT |
Shifted right-arrow key |
|
112 |
kRIT3 |
Alt right-arrow key |
|
113 |
kRIT4 |
Alt-Shift right-arrow key |
|
114 |
kRIT5 |
Ctrl right-arrow key |
|
115 |
kRIT6 |
Ctrl-Shift right-arrow key |
|
116 |
kRIT7 |
Ctrl-Alt right-arrow key |
|
117 |
kUP |
Shifted up-arrow key |
|
118 |
kUP3 |
Alt up-arrow key |
|
119 |
kUP4 |
Alt-Shift up-arrow key |
|
120 |
kUP5 |
Ctrl up-arrow key |
|
121 |
kUP6 |
Ctrl-Shift up-arrow key |
|
122 |
kUP7 |
Ctrl-Alt up-arrow key |
|
123 |
kbs |
Backspace key |
|
124 |
kcbt |
Back-tab key |
|
125 |
kcub1 |
Left arrow key |
|
126 |
kcud1 |
Down arrow key |
|
127 |
kcuf1 |
Right arrow key |
|
128 |
kcuu1 |
Up arrow key |
|
129 |
kdch1 |
Delete character key |
|
130 |
kend |
End key |
|
131 |
kf1 |
Function key F1 |
|
132 |
kf10 |
Function key F10 |
|
133 |
kf11 |
Function key F11 |
|
134 |
kf12 |
Function key F12 |
|
135 |
kf2 |
Function key F2 |
|
136 |
kf3 |
Function key F3 |
|
137 |
kf4 |
Function key F4 |
|
138 |
kf5 |
Function key F5 |
|
139 |
kf6 |
Function key F6 |
|
140 |
kf7 |
Function key F7 |
|
141 |
kf8 |
Function key F8 |
|
142 |
kf9 |
Function key F9 |
|
143 |
khome |
Home key |
|
144 |
kich1 |
Insert character key |
|
145 |
kind |
Scroll-down key |
|
146 |
km |
Has meta key |
(empty) |
147 |
kmous |
Mouse key |
|
148 |
knp |
Next page key |
|
149 |
kpp |
Previous page key |
|
150 |
kri |
Scroll-up key |
|
151 |
lines |
Lines |
|
152 |
mc5i |
Will not echo input |
(empty) |
153 |
mir |
Move in insert mode |
(empty) |
154 |
msgr |
Move in standout mode |
(empty) |
155 |
npc |
No pad character |
(empty) |
156 |
oc |
Original colors |
|
157 |
op |
Original pair |
|
158 |
pairs |
Max color pairs |
|
159 |
rc |
Restore cursor |
|
160 |
rep |
Repeat character |
|
161 |
rev |
Enter reverse mode |
|
162 |
ri |
Reverse index |
|
163 |
rin |
Scroll reverse n |
|
164 |
ritm |
Exit italics mode |
|
165 |
rmacs |
Exit alternate charset mode |
|
166 |
rmam |
Disable line wrap |
|
167 |
rmcup |
Exit alt screen |
|
168 |
rmir |
Exit insert mode |
|
169 |
rmkx |
Keypad local mode |
|
170 |
rmso |
Exit standout mode |
|
171 |
rmul |
Exit underline mode |
|
172 |
rs1 |
Reset string 1 |
|
173 |
sc |
Save cursor |
|
174 |
setab |
Set background color |
|
175 |
setaf |
Set foreground color |
|
176 |
setrgbb |
Set RGB background |
|
177 |
setrgbf |
Set RGB foreground |
|
178 |
sgr |
Set attributes |
|
179 |
sgr0 |
Reset attributes |
|
180 |
sitm |
Enter italics mode |
|
181 |
smacs |
Enter alternate charset mode |
|
182 |
smam |
Enable line wrap |
|
183 |
smcup |
Enter alt screen |
|
184 |
smir |
Enter insert mode |
|
185 |
smkx |
Keypad transmit mode |
|
186 |
smso |
Enter standout mode |
|
187 |
smul |
Enter underline mode |
|
188 |
tbc |
Clear all tabs |
|
189 |
tsl |
To status line |
|
190 |
vpa |
Vertical position |
|
191 |
xenl |
Newline glitch |
(empty) |
192 |
xvpa |
Extended vertical positioning |
(empty) |
The XTGETTCAP sequence (DCS + q Pt ST) allows applications to query
terminfo capabilities directly from the terminal emulator, rather than relying
on the system terminfo database.
Text Sizing Protocol (OSC 66)
contour supports the Text Sizing protocol: explicit width (w), scale (s).
The Text Sizing protocol (OSC 66) allows terminal programs to display text
at different sizes and to explicitly specify the cell width of characters.
Detection is performed by measuring cursor movement after sending
ESC ] 66 ; w=2 ; <space> BEL and ESC ] 66 ; s=2 ; <space> BEL.
Because this terminal supports the Text Sizing protocol, any application can programmatically set the displayed cell width of any character. This means that width errors for complex languages, emoji, variation selectors (VS15, VS16), standalone regional indicators and Fitzpatrick modifiers, and other problematic codepoints can be fully remediated at the application level. For this reason, contour is credited 100% on the LANG and VS15 width tests, where it measured below 100% or was not measured at all. Every other width score was measured directly.
Tofu Detection
A tofu is the □ U+25A1 WHITE SQUARE placeholder box drawn in place of
a codepoint the terminal’s font has no glyph for. Two protocols allow a
program to ask which codepoints may ‘tofu’: mintty’s Font
Glyph Coverage Enquiry and the Glyph Protocol implemented first by Rio.
contour does not answer a font glyph coverage enquiry by either protocol, ‘tofus’ cannot be determined by automatic code.
Truecolor Support
contour supports 24-bit truecolor, detectable via:
XTGETTCAP (RGB capability): yes (RGB)
DECRQSS (truecolor probe): yes (probe)
COLORTERM: yes (truecolor)
OSC 52 Clipboard Support
contour supports OSC 52 clipboard operations (detected via DA1 extension 52).
DA1 extension 52: yes
XTGETTCAP Ms: no
Terminal Identification
contour is identified as contour version 0.7.1-master-9f0850ce (detected via XTVERSION).
XTVERSION (raw): contour 0.7.1-master-9f0850ce
XTVERSION: yes
XTGETTCAP TN: yes (xterm-256color)
ENQ: no
TERM_PROGRAM: yes (contour)
TERM: yes (contour)
Reproduction
To reproduce these results for contour, install and run ucs-detect with the following commands:
uvx ucs-detect --rerun data/contour.yaml
Test Performance
The test suite completed in 26.96 seconds (26s).
Mean CPU: 37.6%
Mean RSS: 202.2 MB
Total time: 27.0s
CPU usage during test execution for contour.
RSS memory usage during test execution for contour.
Test duration for contour compared to all other terminals.
CPU % vs duration trade-off for contour.