reline 0.4.3 → 0.5.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reline/face.rb +3 -3
- data/lib/reline/general_io.rb +1 -1
- data/lib/reline/history.rb +1 -1
- data/lib/reline/kill_ring.rb +1 -1
- data/lib/reline/line_editor.rb +605 -1293
- data/lib/reline/version.rb +1 -1
- data/lib/reline.rb +10 -7
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6fdc2426aceadd0680462674da1132c7042924e9fda18daecd68b82e459a867
|
4
|
+
data.tar.gz: 5fc586dfacfd1cc5524320b0e3190982098fbdaf541a6ff56f9c153aa828560c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 052abb950ef133821f1c3bf43f4727e8ef6afe7210fb9a9f56df65ad1a16a96d54cfc519ecbab94c8b5502d8c6976fdfc7b5e87effb4f7b9e15a800ffaefa92f
|
7
|
+
data.tar.gz: 617b9876da860ac3b08fd659e9ef8e7cda3afc189e496b34cd116d9850bee9ed176e68f129b4ceff6443f3f3992460ef22ddad9d16c2a6dbdf07a3ee020a25e0
|
data/lib/reline/face.rb
CHANGED
@@ -186,9 +186,9 @@ class Reline::Face
|
|
186
186
|
conf.define :scrollbar, style: :reset
|
187
187
|
end
|
188
188
|
config(:completion_dialog) do |conf|
|
189
|
-
conf.define :default, foreground: :
|
190
|
-
conf.define :enhanced, foreground: :
|
191
|
-
conf.define :scrollbar, foreground: :white, background: :
|
189
|
+
conf.define :default, foreground: :white, background: :cyan
|
190
|
+
conf.define :enhanced, foreground: :white, background: :magenta
|
191
|
+
conf.define :scrollbar, foreground: :white, background: :cyan
|
192
192
|
end
|
193
193
|
end
|
194
194
|
|
data/lib/reline/general_io.rb
CHANGED
data/lib/reline/history.rb
CHANGED
@@ -62,7 +62,7 @@ class Reline::History < Array
|
|
62
62
|
private def check_index(index)
|
63
63
|
index += size if index < 0
|
64
64
|
if index < -2147483648 or 2147483647 < index
|
65
|
-
raise RangeError.new("integer #{index} too big to convert to
|
65
|
+
raise RangeError.new("integer #{index} too big to convert to `int'")
|
66
66
|
end
|
67
67
|
# If history_size is negative, history size is unlimited.
|
68
68
|
if @config.history_size.positive?
|