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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rsh +4 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83be89da460ab7d6b0534773b414a23daebaa9c93e3dedae3c1e78d53fba1a3b
4
- data.tar.gz: c95fffc211adbc81780bcf3e9d4003cd2880d0d370777ebeb9c70a90e9f4e5e3
3
+ metadata.gz: d27f9b0e122174a3556a1954950ab96e27ce57193d6a31fe7c8d0ec807fbc9b8
4
+ data.tar.gz: fed1c864573944923034b58fe24a128bbd60899db4d7d2104bc0a1b3e6b2c99d
5
5
  SHA512:
6
- metadata.gz: fd7b51b6c55a5c84e4a3a04a7ab3ce127a6977e064cc4f133c2d2ebf9759835398b60f7044e76aeb6ecf1f286db59110815e37733b0ff6ce0949ed039e1cc71b
7
- data.tar.gz: 84f6015d8eede6d78a226124730676bbb241dd9205077767776f8b4b19b9f45fa60716fc3b2a65d7bbd5547f85f6c8e3e50f6e52b71b272682d35353df780cdc
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.12" # Fix long command line wrapping
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.12
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-19 00:00:00.000000000 Z
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.12: Fix long command line wrapping - correct cursor positioning when commands
16
- exceed terminal width.'
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