rcurses 2.6 → 2.6.1
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.
- checksums.yaml +4 -4
- data/lib/rcurses/pane.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aed95a107616226e2f90aaf5db3dbfd3cddfbb905254e31115857d882741fa61
|
4
|
+
data.tar.gz: ba178a044ed384e5bc3c2c53af77cc654eb96977316e1464f3b0be3e8c35694f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1af985cfb5ecb496bcf321a4429c8b038528c8ba46191eae4e4304746e0ca61a517268342dbf4293f004553e57222f95e96fc67c78710d605ad33a57a0cfcb14
|
7
|
+
data.tar.gz: 3e8232f1023544530e6728a5a1be196764e0296765eb5d3639b63b34fd645b592a49a3efcc0109dcda6597a35e5f280337a6c6e08d3602cfd588e90c39938de0
|
data/lib/rcurses/pane.rb
CHANGED
@@ -35,6 +35,7 @@ module Rcurses
|
|
35
35
|
|
36
36
|
def puts(text)
|
37
37
|
@text = text
|
38
|
+
@ix = 0
|
38
39
|
refresh
|
39
40
|
end
|
40
41
|
|
@@ -423,6 +424,7 @@ module Rcurses
|
|
423
424
|
@y = [[@y, 1].max, @max_h - @h + 1].min
|
424
425
|
|
425
426
|
@scroll = false
|
427
|
+
@ix = 0
|
426
428
|
row(@y)
|
427
429
|
|
428
430
|
fmt = [@fg, @bg].compact.join(',')
|
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:
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -30,7 +30,8 @@ description: 'Create curses applications for the terminal easier than ever. Crea
|
|
30
30
|
color, blink and in any 256 terminal colors for foreground and background. Use a
|
31
31
|
simple editor to let users edit text in panes. Left, right or center align text
|
32
32
|
in panes. Cursor movement around the terminal. New in 2.6: Added methods ''pagedown''
|
33
|
-
and ''pageup'' to panes enabling text scrolling.'
|
33
|
+
and ''pageup'' to panes enabling text scrolling. 2.6.1: Resetting index ''ix'' to
|
34
|
+
0 on pane methods ''puts'' and ''editline''.'
|
34
35
|
email: g@isene.com
|
35
36
|
executables: []
|
36
37
|
extensions: []
|