Skip to content

Commit

Permalink
Merge pull request #81 from ruby/add_term_documentation
Browse files Browse the repository at this point in the history
Add documentation of TERM
  • Loading branch information
hsbt authored Apr 19, 2024
2 parents 24e9250 + 43a38e4 commit 7f23c77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sample/colors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
require "curses"
include Curses

# The TERM environment variable should be set to xterm-256color etc. to
# use 256 colors. Curses.colors returns the color numbers of the terminal.

begin
init_screen

Expand Down

0 comments on commit 7f23c77

Please sign in to comment.