Skip to content

Commit be3a536

Browse files
committed
term: add more comments in vlib/term/README.md
1 parent 89d1aac commit be3a536

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎vlib/term/README.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,15 @@ term.fail_message('oh, no')
5656
term.warn_message('be warned')
5757
// clears the entire terminal and leaves a blank one
5858
term.clear()
59-
// colors the output of the output, the available colors are:
60-
// black,blue,yellow,green,cyan,gray,bright_blue,bright_green,bright_red,bright_black,bright_cyan
59+
60+
// Set the color output of the output.
61+
// The available colors are:
62+
// black, white, blue, yellow,
63+
// green, red, cyan, magenta,
64+
// bright_black, bright_white, bright_blue, bright_yellow,
65+
// bright_green, bright_red, bright_cyan, bright_magenta,
6166
term.yellow('submarine')
67+
6268
// transforms the given string into bold text
6369
term.bold('and beautiful')
6470
// puts a strikethrough into the given string

0 commit comments

Comments
 (0)