Skip to content

Commit

Permalink
Add documentation of TERM
Browse files Browse the repository at this point in the history
Fixes #80
  • Loading branch information
shugo committed Mar 23, 2023
1 parent e37501e commit 43a38e4
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 43a38e4

Please sign in to comment.