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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7094a7af234fede8c3b7a691066f57e68c8f7873ec8d18aeea7c9416f18958d
4
- data.tar.gz: 7fad4ae701cdb34dcb22dd07428c3719672cc68ffa61b0bfbe005ae6326b4027
3
+ metadata.gz: a6fdc2426aceadd0680462674da1132c7042924e9fda18daecd68b82e459a867
4
+ data.tar.gz: 5fc586dfacfd1cc5524320b0e3190982098fbdaf541a6ff56f9c153aa828560c
5
5
  SHA512:
6
- metadata.gz: 8fcbaaa70d79beef33e8ff8150a693c640212b085f4622d1b8acf5aa2a5b742be32acb2076ef844a24f3566b623f7d3522ce01147caa30c79e61a86dee53307a
7
- data.tar.gz: dbadec0e7d7604239f213ac91a1a32398700cd514629f41d1d513713fd03147d1beec830f2160e09c782fa0fd7708727732a556c0c07a9957fecf8c3565b0d53
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: :bright_white, background: :gray
190
- conf.define :enhanced, foreground: :black, background: :white
191
- conf.define :scrollbar, foreground: :white, background: :gray
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
 
@@ -57,7 +57,7 @@ class Reline::GeneralIO
57
57
  end
58
58
 
59
59
  def self.get_screen_size
60
- [1, 1]
60
+ [24, 80]
61
61
  end
62
62
 
63
63
  def self.cursor_pos
@@ -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 'int'")
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?
@@ -14,7 +14,7 @@ class Reline::KillRing
14
14
  end
15
15
 
16
16
  def ==(other)
17
- equal?(other)
17
+ object_id == other.object_id
18
18
  end
19
19
  end
20
20