1
1
mirror of https://github.com/wez/wezterm.git synced 2024-08-16 17:50:28 +03:00

Use more stable format when first describing SGR sequence

This commit is contained in:
Benoit de Chezelles 2024-05-21 20:59:17 +02:00 committed by GitHub
parent b8f94c474c
commit 3d78bc58c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,10 +140,8 @@ are broken out below.
#### Graphic Rendition (SGR)
SGR sequences are of the form `CSI DIGITS [; DIGITS ]+ m`. That is, any number
of semicolon separated numbers, terminated by the `m` codepoint. There are a handful
of slightly more modern sequences that use colon `:` codepoints to encode additional
context.
SGR sequences are of the form `CSI DIGITS [: DIGITS ]+ m`. That is, any number
of colon separated numbers, terminated by the `m` codepoint.
The digits map to one of the codes in the table below, which manipulate the
presentation attributes of subsequently printed characters.