helpline 0.1.2 → 0.1.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/exe/helpline +4 -4
- data/helpline.rb +4 -4
- data/lib/helpline/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dd76874e2f807e8190fd36cee7663e1069a5a768d0c0173960e6851ab8af2e4
|
4
|
+
data.tar.gz: 719d6aca5decbc28ca1090e509f382a9ffabac116e665173a4cb725688d7d6e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a843524971789cd37936b9fe53110704851ce219f9addd944f7032a12ff767c493e57d00f84a79b39e5989b89079e9e0caf408ed380fc0122f30ce364d44af91
|
7
|
+
data.tar.gz: 8a369398fc30e8f69343327c96758808f970658e9187abff97eb4f430fd3d6e869af727ac3bb9c0d47ec038b04443ca18f7177b25d6cc41a12f0f5c5e0d4b04f
|
data/exe/helpline
CHANGED
@@ -188,17 +188,17 @@ class HelpLine
|
|
188
188
|
# process ESC
|
189
189
|
elsif inputchars[0] == "\e" && inputchars.length == 2
|
190
190
|
# 何もしない
|
191
|
-
elsif inputchars == "\x06" || inputchars == "\e[C"
|
191
|
+
elsif inputchars == "\x06" || inputchars == "\e[C" || inputchars == "\eOC"
|
192
192
|
# Curses.right
|
193
193
|
inputchars = ''
|
194
|
-
elsif inputchars == "\x02" || inputchars == "\e[D"
|
194
|
+
elsif inputchars == "\x02" || inputchars == "\e[D" || inputchars == "\eOD"
|
195
195
|
# Curses.left
|
196
196
|
inputchars = ''
|
197
|
-
elsif inputchars == "\x0e" || inputchars == "\e[B"
|
197
|
+
elsif inputchars == "\x0e" || inputchars == "\e[B" || inputchars == "\eOB"
|
198
198
|
Curses.down
|
199
199
|
sel = (sel + 1) if sel < LINES-1
|
200
200
|
inputchars = ''
|
201
|
-
elsif inputchars == "\x10" || inputchars == "\e[A"
|
201
|
+
elsif inputchars == "\x10" || inputchars == "\e[A" || inputchars == "\eOA"
|
202
202
|
Curses.up
|
203
203
|
sel = sel - 1 if sel > 0
|
204
204
|
inputchars = ''
|
data/helpline.rb
CHANGED
@@ -188,17 +188,17 @@ class HelpLine
|
|
188
188
|
# process ESC
|
189
189
|
elsif inputchars[0] == "\e" && inputchars.length == 2
|
190
190
|
# 何もしない
|
191
|
-
elsif inputchars == "\x06" || inputchars == "\e[C"
|
191
|
+
elsif inputchars == "\x06" || inputchars == "\e[C" || inputchars == "\eOC"
|
192
192
|
# Curses.right
|
193
193
|
inputchars = ''
|
194
|
-
elsif inputchars == "\x02" || inputchars == "\e[D"
|
194
|
+
elsif inputchars == "\x02" || inputchars == "\e[D" || inputchars == "\eOD"
|
195
195
|
# Curses.left
|
196
196
|
inputchars = ''
|
197
|
-
elsif inputchars == "\x0e" || inputchars == "\e[B"
|
197
|
+
elsif inputchars == "\x0e" || inputchars == "\e[B" || inputchars == "\eOB"
|
198
198
|
Curses.down
|
199
199
|
sel = (sel + 1) if sel < LINES-1
|
200
200
|
inputchars = ''
|
201
|
-
elsif inputchars == "\x10" || inputchars == "\e[A"
|
201
|
+
elsif inputchars == "\x10" || inputchars == "\e[A" || inputchars == "\eOA"
|
202
202
|
Curses.up
|
203
203
|
sel = sel - 1 if sel > 0
|
204
204
|
inputchars = ''
|
data/lib/helpline/version.rb
CHANGED