rcurses 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rcurses.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c653bbbd37d3eb63b73b4b31610e5c3aa38026fbefab2fe286037597af3edaa
|
4
|
+
data.tar.gz: 3b8114bd0899f50dae09e1deeb107b45293b5fe55c24ff92f07cb9b536288cb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75d19d87bdd770831b22f1c507ead604231cf0607ac51932d485411d84e9ff0b02405541c23ccb370e88534384fd67c1220461fd00dfe9179b5266cbbe91118d
|
7
|
+
data.tar.gz: 14872c98ff9edcc649998066d0f817ec306b5caa06e59329ecfad84b0a42c970fa0f2061dfbe5259ed5be9e8d35027b97b0ebf14a1cdb98af00494eb25e318b4
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Simple. One file. No external requirements.
|
|
14
14
|
# Installation
|
15
15
|
Clone this repo and drop `lib/rcurses.rb` into `/usr/lib/ruby/vendor_ruby/`
|
16
16
|
|
17
|
-
Or simply `gem install rcurses
|
17
|
+
Or simply run `gem install rcurses`.
|
18
18
|
|
19
19
|
To use this library do:
|
20
20
|
```
|
data/lib/rcurses.rb
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
# Web_site: http://isene.com/
|
6
6
|
# Github: https://github.com/isene/rcurses
|
7
7
|
# License: Public domain
|
8
|
-
# Version
|
8
|
+
# Version: 0.2 : Initial upload to GitHub
|
9
9
|
|
10
10
|
class Pane
|
11
11
|
attr_accessor :startx, :starty, :width, :height, :fg, :bg
|
12
|
-
|
12
|
+
attr_accessor :x, :y, :w, :h
|
13
13
|
attr_accessor :border, :scroll, :text, :ix, :align, :prompt
|
14
14
|
def initialize(startx=1, starty=1, width=1, height=1, fg=nil, bg=nil)
|
15
15
|
@startx, @starty, @width, @height, @fg, @bg = startx, starty, width, height, fg, bg
|