giterm 1.1.1 → 2.0.1
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/README.md +8 -2
- data/giterm +14 -9
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 229379dde6560a251c0f3fa707cdff309ce89f88995de14e99e45677555b4d68
|
4
|
+
data.tar.gz: 07f66329742e50a817683c73a196989c400b6dbf6083eb7e2eccfaa2108052a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47193398f0cb94ef112bad6d2619928b56566b5c00befb9a5a67432e6d29ac13f18a020a6a88dbc540d18d5e55773ebac124813e4be2746b4893f89a216dbbb7
|
7
|
+
data.tar.gz: 4c6e0492c0b70772b42fb494cce31e3108fab5e0fa7c642327f61941c8fc89c9ae908c300e3cb516e09d25aa0673eda73cfad8a1154e3200a7dbb24b372039da
|
data/README.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
# GiTerm - Git & GitHub Terminal User Interface
|
1
|
+
# GiTerm - Git & GitHub Terminal User Interface
|
2
|
+
|
3
|
+
<img src="img/giterm_logo.svg" align="left" width="150" height="150">
|
4
|
+
|
5
|
+
[](https://unlicense.org/)
|
6
|
+
[](https://github.com/isene/GiTerm/stargazers)
|
7
|
+
[](https://isene.org)
|
2
8
|
|
3
9
|
 [](https://badge.fury.io/rb/giterm) 
|
4
10
|
|
@@ -201,4 +207,4 @@ Public Domain - Use freely for any purpose.
|
|
201
207
|
## See Also
|
202
208
|
|
203
209
|
- [RTFM](https://github.com/isene/RTFM) - Ruby Terminal File Manager
|
204
|
-
- [rcurses](https://github.com/isene/rcurses) - Ruby curses library used by GiTerm
|
210
|
+
- [rcurses](https://github.com/isene/rcurses) - Ruby curses library used by GiTerm
|
data/giterm
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Author: Geir Isene <g@isene.com> (adapted from RTFM)
|
8
8
|
# Github: https://github.com/isene/GiTerm
|
9
9
|
# License: Public domain
|
10
|
-
@version = '
|
10
|
+
@version = '2.0.1'
|
11
11
|
|
12
12
|
# SAVE & STORE TERMINAL {{{1
|
13
13
|
ORIG_STTY = `stty -g 2>/dev/null`.chomp rescue ''
|
@@ -236,9 +236,9 @@ def handle_popup_scrolling(popup)
|
|
236
236
|
popup.linedown
|
237
237
|
when 'k', 'UP'
|
238
238
|
popup.lineup
|
239
|
-
when 'PgDOWN'
|
239
|
+
when 'PgDOWN', 'f' # 'f' as alternative for keyboards without PgDn
|
240
240
|
popup.pagedown
|
241
|
-
when 'PgUP'
|
241
|
+
when 'PgUP', 'F' # 'F' as alternative for keyboards without PgUp
|
242
242
|
popup.pageup
|
243
243
|
when 'ENTER', ' ', 'q', 'ESCAPE'
|
244
244
|
break
|
@@ -310,8 +310,8 @@ end
|
|
310
310
|
l/RIGHT = Enter/view details
|
311
311
|
g/HOME = Go to top
|
312
312
|
G/END = Go to bottom
|
313
|
-
|
314
|
-
PgUp
|
313
|
+
f/PgDn = Page down in left pane
|
314
|
+
F/PgUp = Page up in left pane
|
315
315
|
S-RIGHT = Page down in right pane
|
316
316
|
S-LEFT = Page up in right pane
|
317
317
|
|
@@ -416,7 +416,7 @@ end
|
|
416
416
|
|
417
417
|
def update_bottom_legends
|
418
418
|
# Show key legends in bottom pane
|
419
|
-
legends = 'j/k:Nav
|
419
|
+
legends = 'j/k:Nav f/F:Page g/G:Top/End J/K:Scroll d:Diff l:Log b:Branches TAB:GitHub q:Quit'
|
420
420
|
@p_bottom.say(legends)
|
421
421
|
end
|
422
422
|
|
@@ -1707,7 +1707,7 @@ def handle_key(chr)
|
|
1707
1707
|
|
1708
1708
|
# Use fast update for major jumps to avoid extended fetch delays
|
1709
1709
|
update_right_pane(true)
|
1710
|
-
when 'PgDOWN'
|
1710
|
+
when 'PgDOWN', 'f' # 'f' as alternative to PageDown for keyboards without PgDn key
|
1711
1711
|
# Page down in left pane
|
1712
1712
|
old_index = @index
|
1713
1713
|
@index = [@index + @p_left.h - 3, @max_index].min
|
@@ -1743,7 +1743,7 @@ def handle_key(chr)
|
|
1743
1743
|
|
1744
1744
|
# Show basic info immediately, schedule extended fetch for when user pauses
|
1745
1745
|
update_right_pane(true)
|
1746
|
-
when 'PgUP'
|
1746
|
+
when 'PgUP', 'F' # 'F' as alternative to PageUp for keyboards without PgUp key
|
1747
1747
|
# Page up in left pane
|
1748
1748
|
old_index = @index
|
1749
1749
|
@index = [@index - @p_left.h + 3, @min_index].max
|
@@ -2257,7 +2257,7 @@ def update_right_pane(fast_update = false)
|
|
2257
2257
|
end
|
2258
2258
|
end
|
2259
2259
|
when :log
|
2260
|
-
show_commit_details(@log_entries[@index]) if @index >= 0 && @index < @log_entries.length
|
2260
|
+
show_commit_details(@log_entries[@index][:hash]) if @index >= 0 && @index < @log_entries.length
|
2261
2261
|
when :branches
|
2262
2262
|
# Handle branch details if needed
|
2263
2263
|
when :github_repos
|
@@ -2612,6 +2612,11 @@ begin
|
|
2612
2612
|
load_config
|
2613
2613
|
log_debug('Config loaded')
|
2614
2614
|
|
2615
|
+
# Initialize rcurses (required for rcurses 6.0.0+)
|
2616
|
+
log_debug('Initializing rcurses...')
|
2617
|
+
Rcurses.init!
|
2618
|
+
log_debug('Rcurses initialized')
|
2619
|
+
|
2615
2620
|
log_debug('Initializing windows...')
|
2616
2621
|
init_windows
|
2617
2622
|
log_debug('Windows initialized')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: giterm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: "."
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rcurses
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '6.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,10 +52,10 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '13.0'
|
55
|
-
description: GiTerm is a powerful terminal interface for Git and GitHub, providing
|
55
|
+
description: 'GiTerm is a powerful terminal interface for Git and GitHub, providing
|
56
56
|
an intuitive TUI for repository management, issue tracking, and pull request handling.
|
57
|
-
|
58
|
-
|
57
|
+
Version 2.0.1: Fixed macOS log display issue and added alternative keybindings for
|
58
|
+
PageUp/PageDown.'
|
59
59
|
email:
|
60
60
|
- g@isene.com
|
61
61
|
executables:
|