mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-28 23:17:59 +01:00
minor documentation fix
This commit is contained in:
parent
cc0ddd7c74
commit
013b6558c9
1 changed files with 5 additions and 6 deletions
|
@ -91,10 +91,8 @@ void write(char b, int width)
|
||||||
}
|
}
|
||||||
else if (esc == 1)
|
else if (esc == 1)
|
||||||
{
|
{
|
||||||
/* CSI ends with a letter, m is for colour
|
if (b == '[') esc = 2; /* CSI: CSI ends with a letter, m is for colour */
|
||||||
OSI, OSI P is for palett editing in Linux VT */
|
else if (b == ']') esc = 3; /* OSI: OSI P is for palett editing in Linux VT */
|
||||||
if (b == '[') esc = 2;
|
|
||||||
else if (b == ']') esc = 3;
|
|
||||||
else esc = 10; /* Nothing to see here, move along */
|
else esc = 10; /* Nothing to see here, move along */
|
||||||
}
|
}
|
||||||
else if (esc == 2)
|
else if (esc == 2)
|
||||||
|
@ -138,6 +136,7 @@ void write(char b, int width)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Converts a string to an integer
|
/* Converts a string to an integer
|
||||||
|
*
|
||||||
* @param string The string to convert
|
* @param string The string to convert
|
||||||
* @return The integer represented by the string
|
* @return The integer represented by the string
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue