rcurses 0.7.1 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rcurses.rb +0 -0
  3. data/rcurses_example.rb +5 -1
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d559e267a289fc428719cfd673b66255a4a0a36423c53f553c56df2b419a3328
4
- data.tar.gz: 1760613584e7129426647938030f0ab45425abad33385dfe1e16110fc1c7bcfd
3
+ metadata.gz: 91c5ff77f281ce2112361ba7229fd917b5c7472436562e84fe6675c32565cc9c
4
+ data.tar.gz: 48e2a8f32b3d9ffb33d21c6825660bd7e0afc260ce3142e3df0af57ad5836c08
5
5
  SHA512:
6
- metadata.gz: cc095f91cee0f2feaa902051489c6b6dbd261f4cc5ab2a1c8ae386a17d271d7da98ec02cda05b518c5dbf20b3bbac30678b2e7d945deaf99d90965c96dcd7221
7
- data.tar.gz: ace7718d478179d8d6a0afe48c7efd1959c190ea3d2cb06958f51c717165cd13df3631ca0e9a6218f918ea5339e3d552718d8ac0abb5c7d323c257b579649f80
6
+ metadata.gz: b1bbfb0302dc1b91762f96b297bcaa40110d4edc7e5c675834a7a6df137c4c81f11baa122f1aec3c78f8639d59e692049b0269914f433946008ffeedafb65ba5
7
+ data.tar.gz: 23ce5601d185f451d2a89eecf5bc8e7312192d983e3ca0cb069485d694dcc82460309a525a34f5aa1660dddd325da9b99b92446af7eefacf5b3d9192a8092512
data/lib/rcurses.rb CHANGED
Binary file
data/rcurses_example.rb CHANGED
@@ -12,7 +12,7 @@ pane_left.align = "c"
12
12
  pane_right.align = "r"
13
13
 
14
14
  pane_top.text = "This is an information line at the top".b.i
15
- pane_left.text = "\n\n" + "Here is a pane to be reckoned with".b
15
+ pane_left.text = "\n\n" + "Here is a pane to be reckoned with".b.u
16
16
  pane_right.text = "\n\n" + "And here is the right pane. "
17
17
  pane_bottom.prompt = "Enter any text and press ENTER: ".b
18
18
 
@@ -20,3 +20,7 @@ pane_top.refresh
20
20
  pane_left.refresh
21
21
  pane_right.refresh
22
22
  pane_bottom.editline
23
+
24
+ pane_bottom.prompt = "You wrote: " + pane_bottom.text.pure.i + " (now hit ENTER again)"
25
+ pane_bottom.text = ""
26
+ pane_bottom.editline
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcurses
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
@@ -14,7 +14,8 @@ description: 'Create panes (with the colors and(or border), manipulate the panes
14
14
  add content. Dress up text (in panes or anywhere in the terminal) in bold, italic,
15
15
  underline, reverse color, blink and in any 256 terminal colors for foreground and
16
16
  background. Use a simple editor to let users edit text in panes. Left, right or
17
- center align text in panes. Cursor movement around the terminal. New in 0.7.1: Bugfixes.'
17
+ center align text in panes. Cursor movement around the terminal. New in 0.8: Bugfixes.
18
+ Tested and fully functional.'
18
19
  email: g@isene.com
19
20
  executables: []
20
21
  extensions: