Add newlines around SGR command syntax explanation
This commit is contained in:
parent
fb7a7230e3
commit
843de6337c
|
@ -68,7 +68,9 @@ section_anatomy() {
|
|||
newline
|
||||
|
||||
printf 'Overall, a control sequence is formatted like so:\n'
|
||||
printf '0x1B + "[" + <zero or more numbers, separated by semicolons> + <a letter>\n'
|
||||
newline
|
||||
printf '0x1B + [ + <zero or more numbers, separated by semicolons> + <a letter>\n'
|
||||
newline
|
||||
printf 'The CSI sequence we''ve gone over already. The easiest way to think about this is that the letter is the name of a function, and the semicolon-delimited numbers are the arguments to said function.\n'
|
||||
printf 'By this model of thinking about escape sequences like function calls means you would read "\\e[0;1;34m" as m(0, 1, 34), and "\\e[A" as A().\n'
|
||||
newline
|
||||
|
|
Loading…
Reference in New Issue