rcurses 3.6 → 3.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.rb +1 -1
- data/lib/string_extensions.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feb03695cdc5b1501c957f7ce52814bdb1dc063368b69baa8c65b92fb3317bcc
|
4
|
+
data.tar.gz: ca957a0062c4a038284ceade63f15638ca51ed7b3df122f9f4a95ed241a721aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c170a9abeb98b00ec9f2169040777d3c66e9bd48c316b8a4a35f73bbe527b6642a885b61767416de2c9508fad562f835c6d0798f3da40807ae369d4fa8c19621
|
7
|
+
data.tar.gz: 678c593ca2e6c09ba5bd8be5faf5d93516849400c259b2d3cae9c180ed08d082b3c4604f2f73aa4e2741195b5a705aee8ddaa9269bb588b49ee7453403917c2a
|
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: 3.6:
|
8
|
+
# Version: 3.6.1: Minor fix to clean_ansi
|
9
9
|
|
10
10
|
require 'io/console' # Basic gem for rcurses
|
11
11
|
require 'io/wait' # stdin handling
|
data/lib/string_extensions.rb
CHANGED
@@ -36,7 +36,7 @@ class String
|
|
36
36
|
|
37
37
|
def clean_ansi
|
38
38
|
# Remove a leading and trailing reset code if present, fixing extra \e[0m introduced by some commands
|
39
|
-
self.gsub(/\A\e\[0m/, '').gsub(/\e\[0m\z/, '')
|
39
|
+
self.gsub(/\e\[0m(?=\e\[38;5)/, '').gsub(/\A\e\[0m/, '').gsub(/\e\[0m\z/, '')
|
40
40
|
end
|
41
41
|
|
42
42
|
def pure
|
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: 3.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -29,7 +29,7 @@ description: 'Create curses applications for the terminal easier than ever. Crea
|
|
29
29
|
up text (in panes or anywhere in the terminal) in bold, italic, underline, reverse
|
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
|
-
in panes. Cursor movement around the terminal. New in 3.6:
|
32
|
+
in panes. Cursor movement around the terminal. New in 3.6.1: Minor fix to clean_ansi.'
|
33
33
|
email: g@isene.com
|
34
34
|
executables: []
|
35
35
|
extensions: []
|