cursesx 001 → 002
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|