summaryrefslogtreecommitdiff
path: root/ext/curses/hello.rb
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-12 23:42:44 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-12 23:42:44 +0000
commit9eded5fa137fc0d25c1096890a706c4437043227 (patch)
tree72bbbd6461756d8615183a7a56f21620b29e8c19 /ext/curses/hello.rb
parent7e97ab23f81b94b93dca9fec9ea8997c46a59e11 (diff)
new methods and constants for using the mouse, character attributes,
colors and key codes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses/hello.rb')
-rw-r--r--ext/curses/hello.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curses/hello.rb b/ext/curses/hello.rb
index a1915ce60d..7f57d801a3 100644
--- a/ext/curses/hello.rb
+++ b/ext/curses/hello.rb
@@ -7,7 +7,7 @@ def show_message(message)
width = message.length + 6
win = Window.new(5, width,
(lines - 5) / 2, (cols - width) / 2)
- win.box(?|, ?=)
+ win.box(?|, ?-)
win.setpos(2, 3)
win.addstr(message)
win.refresh