ruby-shell 3.6.12 → 3.6.14
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 +7 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 909cecd4b06d6987e56e2d8a79dd0aa769e863cd1d80e989c3211f656d4e70e0
|
|
4
|
+
data.tar.gz: e3d9a6271b77a828559355c1d27fce6d3868e16ff4a3c66820c9ca65aec2fc24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e94c7d2e9b6ee78aa6be988923d16765578bf89a3f34888ec52bd40bf9b75eb31cc30d62ab8b6e8384f4513f7825a8e79cd41f9195c9afaf6a8d361bbe13eeb1
|
|
7
|
+
data.tar.gz: 5b6c42e9cbf4eb548f6640bd4f96429202dc964dd91b42b1655c23b4b35cf4131009f029b11e21b40de7b8b38844b05c496ba61cf053efef52374d28af9fa8d7
|
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.14" # Fix tab completion creating new lines at bottom of screen
|
|
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
|
|
|
@@ -483,6 +486,7 @@ def getstr # A custom Readline-like function
|
|
|
483
486
|
if @stk == 0 and @history[0].length > 0
|
|
484
487
|
@tabsearch = @history[0]
|
|
485
488
|
tab("hist")
|
|
489
|
+
@cmd_row = @c_row
|
|
486
490
|
else
|
|
487
491
|
if lift
|
|
488
492
|
@history.unshift("")
|
|
@@ -590,10 +594,12 @@ def getstr # A custom Readline-like function
|
|
|
590
594
|
@ci = nil
|
|
591
595
|
#@tabsearch =~ /^-/ ? tabbing("switch") : tabbing("all")
|
|
592
596
|
tab("all")
|
|
597
|
+
@cmd_row = @c_row
|
|
593
598
|
lift = true
|
|
594
599
|
when 'S-TAB'
|
|
595
600
|
@ci = nil
|
|
596
601
|
tab("hist")
|
|
602
|
+
@cmd_row = @c_row
|
|
597
603
|
lift = true
|
|
598
604
|
when /^.$/
|
|
599
605
|
@history[0].insert(@pos,chr)
|
metadata
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
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.14
|
|
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-27 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
|
-
exceed terminal width.'
|
|
15
|
+
v3.6.14: Fix tab completion creating duplicate lines at bottom of screen.'
|
|
17
16
|
email: g@isene.com
|
|
18
17
|
executables:
|
|
19
18
|
- rsh
|