rcurses 4.8.2 → 4.8.3
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 +1 -1
- data/lib/rcurses.rb +1 -1
- 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: 6368e4d70cf29ddd6652b9112bdff1ca4912c436e6a731fb40f8f2e088f9f11a
|
4
|
+
data.tar.gz: 05cb89f361374c80212eea238028e071e898060de1e3432f1a3a72cc5ded1821
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c774f36556d7fe4abfd514a8c04ba1cb56b6e19cc0a00e1d460c24c2490ca1a005b58db330f03a1a3db9cf9d8994fe76a37f61369ee74b3a2ba70a8ca54c6c9f
|
7
|
+
data.tar.gz: 5f202003dd8e302b4c03b72fcf3366573d7f336418d8b4eec5516d83c88c6c44fb8e82b8c0f9267afb0deb3c843de2a74d7faac2f63139de6c509eb2bf77eb2f
|
data/lib/rcurses/pane.rb
CHANGED
@@ -184,7 +184,7 @@ module Rcurses
|
|
184
184
|
|
185
185
|
# Lazy evaluation: If the content or pane width has changed, reinitialize the lazy cache.
|
186
186
|
if !defined?(@cached_text) || @cached_text != cont || @cached_w != @w
|
187
|
-
@raw_txt = cont.split("\n")
|
187
|
+
@raw_txt = cont.split("\n").map { |line| line.chomp("\r") }
|
188
188
|
@lazy_txt = [] # This will hold the processed (wrapped) lines as needed.
|
189
189
|
@lazy_index = 0 # Pointer to the next raw line to process.
|
190
190
|
@cached_text = cont.dup
|
data/lib/rcurses.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Web_site: http://isene.com/
|
6
6
|
# Github: https://github.com/isene/rcurses
|
7
7
|
# License: Public domain
|
8
|
-
# Version: 4.8: Bugfix:
|
8
|
+
# Version: 4.8.3: Bugfix: Text carriege return corner case fix
|
9
9
|
|
10
10
|
require 'io/console' # Basic gem for rcurses
|
11
11
|
require 'io/wait' # stdin handling
|
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.8.
|
4
|
+
version: 4.8.3
|
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 3.8: Fixed border fragments
|
33
|
-
upon utf-8 characters. 4.8: Bugfix: Removed stray ansi codes.
|
33
|
+
upon utf-8 characters. 4.8: Bugfix: Removed stray ansi codes. 4.8.3: Bugfix: Text
|
34
|
+
carriege return corner case fix.'
|
34
35
|
email: g@isene.com
|
35
36
|
executables: []
|
36
37
|
extensions: []
|