From 43a38e43f93b06fdaa51f7dd8e73aca359926c6c Mon Sep 17 00:00:00 2001 From: Shugo Maeda Date: Thu, 23 Mar 2023 11:18:49 +0900 Subject: [PATCH] Add documentation of TERM Fixes #80 --- sample/colors.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sample/colors.rb b/sample/colors.rb index 9a85ff80..b9a82aea 100755 --- a/sample/colors.rb +++ b/sample/colors.rb @@ -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