rcurses 0.4 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -6
- data/lib/rcurses.rb +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c1c0c8efdec1116e5a5f225ec534a49a5d19423e15e4e332e4dffa85ce8d7a8
|
4
|
+
data.tar.gz: de87f45bdd05d3b033a5e87f20add883157633ffa2801701e3a83e5bbdcf3796
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7083d21e760a99051fdbbf66d12f02ebc89c9fde6a86c6e1b39fc77532fb806b706c116006ea5add4041b10f8bb84cb123848c0e8ff9d30440dfc22aa0d57ac7
|
7
|
+
data.tar.gz: d967cb0b226469737f478c6002d10b2d64c40cf50c31cd8ad38b996c4158cdb2b6f1dcfda59b509ecd4e9b9a376ec51ca35f01ce6cc6085bbc951be98051b703
|
data/README.md
CHANGED
@@ -121,14 +121,11 @@ scroll_up | Scroll display up one line
|
|
121
121
|
scroll_down | Scroll display down one line
|
122
122
|
clear_screen_down | Clear screen down from current row
|
123
123
|
|
124
|
-
#
|
124
|
+
# The function getchr
|
125
125
|
rcurses provides a vital extension to Ruby in reading characters entered by the user. This is especially needed for curses applications where readline inputs are required.
|
126
|
+
The function getchr is automatically included in your arsenal when you first do `include rcurses`.
|
126
127
|
|
127
|
-
|
128
|
-
```
|
129
|
-
include Rinput
|
130
|
-
```
|
131
|
-
Then simply use `chr = getchr` in a program to read any character input by the user. The returning code (the content of `chr` in this example could be any of the following:
|
128
|
+
Simply use `chr = getchr` in a program to read any character input by the user. The returning code (the content of `chr` in this example) could be any of the following:
|
132
129
|
|
133
130
|
Key pressed | string returned
|
134
131
|
----------------|----------------------------------------------------------
|
data/lib/rcurses.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rcurses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'Create panes (with the colors and(or border), manipulate the panes and
|
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.4:
|
18
|
-
|
17
|
+
center align text in panes. Cursor movement around the terminal. New in 0.4.4: Minor
|
18
|
+
changes.'
|
19
19
|
email: g@isene.com
|
20
20
|
executables: []
|
21
21
|
extensions:
|