ansi-select 0.3.3 → 0.3.4
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/CHANGELOG.md +4 -0
- data/lib/ansi/selector/version.rb +1 -1
- data/position.sh +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa5c6589d8a9af92e7710bdc7fbcd713c244a215
|
|
4
|
+
data.tar.gz: d849fa73a5f9b75c6486c0e00d709b0c40f01a2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9281add89f0ae343b229a86b3207dc7c9a98a05ed9e81ca328ae91fb5d60512b533faace2097b90f1640d263fc7efa8f38dd376de7de6595ed9379fe7a84a4ad
|
|
7
|
+
data.tar.gz: 90343e5cf89358b709d47b445b4baeb5552ffeeff0273f384d9ede868222130bee162203666528b9c799ff4fc5684f37c77ac1dcf9fc0a97a11e86e33aadd559
|
data/CHANGELOG.md
CHANGED
data/position.sh
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
# based on a script from http://invisible-island.net/xterm/xterm.faq.html
|
|
3
3
|
exec < /dev/tty
|
|
4
|
-
oldstty=$(stty -g)
|
|
5
|
-
stty raw -echo min 0
|
|
4
|
+
oldstty=$(/bin/stty -g)
|
|
5
|
+
/bin/stty raw -echo min 0
|
|
6
6
|
# on my system, the following line can be replaced by the line below it
|
|
7
7
|
echo -en "\033[6n" > /dev/tty
|
|
8
8
|
# tput u7 > /dev/tty # when TERM=xterm (and relatives)
|
|
9
9
|
IFS=';' read -r -d R -a pos
|
|
10
|
-
stty $oldstty
|
|
10
|
+
/bin/stty $oldstty
|
|
11
11
|
# change from one-based to zero based so they work with: tput cup $row $col
|
|
12
12
|
row=$((${pos[0]:2} - 1)) # strip off the esc-[
|
|
13
13
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ansi-select
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Volodymyr Shatskyi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|