mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/curses/hello.rb: Typo in Curses example by Drew Blas
[Fixes GH-273] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3d42f0076d
commit
b0446f37a6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Apr 5 12:06:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* ext/curses/hello.rb: Typo in Curses example by Drew Blas
|
||||
[Fixes GH-273]
|
||||
|
||||
Thu Apr 4 23:45:13 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue