rcurses 3.6.2 → 3.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 990c6a5c91e3bef56cccf8187eff311de175ea9768ebaeacfddee120da475fd1
4
- data.tar.gz: 921b19ca7659cdf24d49adeee9922afd72ef31e567d0e17bd891ce99e2cf0815
3
+ metadata.gz: dd4d255f920c7cab090053de1225766a87259a3241cffde89ec91257a3fdfa5d
4
+ data.tar.gz: adc057bffa5273209e9f55130f507e00f2de108b3ef8f016c0ee7c45c31b2883
5
5
  SHA512:
6
- metadata.gz: 7fe98e795dbde85b2e5c245065d250c62d1f44f99de113f5177f402ed05cdfe1107394c3dde78d29ae6ae18f2b1fa8126cce791d4277421f0be8ef0dd0b97eba
7
- data.tar.gz: 8505d54426d358c8820b8a07683dd824d6b5604c218a0ccbc9322b2508840c1583d87924200ebf11dfc8261d91b9a4385a61212d961812bfebf081cb86936b67
6
+ metadata.gz: a662051bc9397cef6ca187b1178d0485f4cbddf9baaae185d4d494245faf4d8b1d054c457e0859ede4a7be1186e6e05546fe53c12d8381323c65294f65178cf7
7
+ data.tar.gz: efadf2c9657f23a31c3f929ce73151a9a48f2e90819980e50e36d36f86c4c54077db1f59c529112bda11c03b58c7ed45e42dfebe49b3f6360b38867b9d7b4c8e
data/lib/rcurses/input.rb CHANGED
@@ -154,15 +154,6 @@ module Rcurses
154
154
  else chr = ""
155
155
  end
156
156
 
157
- # Flush any extra input characters from STDIN
158
- while IO.select([$stdin], nil, nil, 0)
159
- begin
160
- $stdin.read_nonblock(1024)
161
- rescue IO::WaitReadable, EOFError
162
- break
163
- end
164
- end
165
-
166
157
  chr
167
158
  end
168
159
  end
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.2: Flush any residue of characters before returning chr
8
+ # Version: 3.6.3: Reverting last change as it killed pasting in editline
9
9
 
10
10
  require 'io/console' # Basic gem for rcurses
11
11
  require 'io/wait' # stdin handling
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcurses
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.2
4
+ version: 3.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-15 00:00:00.000000000 Z
11
+ date: 2025-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clipboard
@@ -29,8 +29,8 @@ 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.2: Flush any residue of
33
- characters before returning chr.'
32
+ in panes. Cursor movement around the terminal. New in 3.6.3: Reverting last change
33
+ as it killed pasting in editline.'
34
34
  email: g@isene.com
35
35
  executables: []
36
36
  extensions: []