cursesx 001 → 002
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemified +2 -2
- data/History.txt +5 -0
- data/lib/cursesx.rb +2 -2
- metadata +1 -1
data/.gemified
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
---
|
2
2
|
:summary: cursesx is an useful extension of standard curses.rb.
|
3
3
|
:email: keita.yamaguchi@gmail.com
|
4
|
-
:has_rdoc: true
|
5
4
|
:name: cursesx
|
5
|
+
:has_rdoc: true
|
6
6
|
:homepage: http://rubyforge.org/projects/cursesx/
|
7
|
-
:version: "
|
7
|
+
:version: "002"
|
8
8
|
:rubyforge_project: cursesx
|
9
9
|
:author: Keita Yamaguchi
|
data/History.txt
CHANGED
data/lib/cursesx.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require "curses"
|
2
2
|
|
3
3
|
module CursesX
|
4
|
-
VERSION = "
|
4
|
+
VERSION = "002"
|
5
5
|
end
|
6
6
|
|
7
7
|
module Curses
|
@@ -56,7 +56,7 @@ module Curses
|
|
56
56
|
|
57
57
|
alias :subwin_orig :subwin
|
58
58
|
def subwin(height, width, y, x)
|
59
|
-
@children
|
59
|
+
@children ||= []
|
60
60
|
@children << subwin_orig(height, width, y, x)
|
61
61
|
return @children.last
|
62
62
|
end
|