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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rcurses/pane.rb +2 -0
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85c679d06754d9afd2c33e55e44d700d37333f197ffb1d753ef3ff8bbdf15e1b
4
- data.tar.gz: 5f2c74a5a789c93c6406bb761fffc769d13ab8e0723b743f408e264cfd61614a
3
+ metadata.gz: aed95a107616226e2f90aaf5db3dbfd3cddfbb905254e31115857d882741fa61
4
+ data.tar.gz: ba178a044ed384e5bc3c2c53af77cc654eb96977316e1464f3b0be3e8c35694f
5
5
  SHA512:
6
- metadata.gz: 19854a5865cfe09fcdcad1c8e9540ac5eb29a704f1b8e0b9626e6c69e8b51f5991411ea5f60bf8f9eb6a67725b89f3c3debfe2fc0af0857e3a770e103603ffae
7
- data.tar.gz: 22f2e416110f65bdedad83a967464d6072affa79b45facf5c38abf3ae80cbe22ec1a0d2041c57f295082e98a0529994f4b8c352443e578853a27792009a02f18
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: '2.6'
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: []