ruby-shell 3.6.12 → 3.6.13
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/bin/rsh +4 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d27f9b0e122174a3556a1954950ab96e27ce57193d6a31fe7c8d0ec807fbc9b8
|
|
4
|
+
data.tar.gz: fed1c864573944923034b58fe24a128bbd60899db4d7d2104bc0a1b3e6b2c99d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fde7b317a383ed186df64a0abd17fc35189d90cc522fa5c14df83229584b6ac90c54bfc51fda1c25c4a49b6912ecc464b953d8796fee944e8c469233370bc132
|
|
7
|
+
data.tar.gz: c1dcd5f4fa4a492b4f97443e8c58cc3a77c065ab1f536c46b0d15a6d87ca78e08003943701cea95420b99d399ec378a365855b08a7318409e784ebd998a48707
|
data/bin/rsh
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
# Web_site: http://isene.com/
|
|
9
9
|
# Github: https://github.com/isene/rsh
|
|
10
10
|
# License: Public domain
|
|
11
|
-
@version = "3.6.
|
|
11
|
+
@version = "3.6.13" # Refresh terminal width each prompt (fix stale @maxcol)
|
|
12
12
|
|
|
13
13
|
# MODULES, CLASSES AND EXTENSIONS
|
|
14
14
|
class String # Add coloring to strings (with escaping for Readline)
|
|
@@ -334,6 +334,9 @@ def getstr # A custom Readline-like function
|
|
|
334
334
|
@ai_suggestion = nil
|
|
335
335
|
end
|
|
336
336
|
|
|
337
|
+
# Refresh terminal dimensions (handles resize since startup)
|
|
338
|
+
@maxrow, @maxcol = IO.console.winsize
|
|
339
|
+
|
|
337
340
|
# Print prompt ONCE at start (optimization + multi-line support)
|
|
338
341
|
@row0, p = @c.pos
|
|
339
342
|
|
metadata
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-shell
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.6.
|
|
4
|
+
version: 3.6.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geir Isene
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'A shell written in Ruby with extensive tab completions, aliases/nicks,
|
|
14
14
|
history, syntax highlighting, theming, auto-cd, auto-opening files and more. UPDATE
|
|
15
|
-
v3.6.
|
|
16
|
-
|
|
15
|
+
v3.6.13: Fix cursor position on wide terminals - refresh terminal dimensions each
|
|
16
|
+
prompt cycle.'
|
|
17
17
|
email: g@isene.com
|
|
18
18
|
executables:
|
|
19
19
|
- rsh
|