giterm 2.0.0 → 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -2
  3. data/giterm +9 -9
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d08422f350db0a6c412976efa59390a7656c829d2b1824727b6ddc0bf2791d95
4
- data.tar.gz: f062623e119308431c2c03223f8cb83c0e3bcbacf6d1c0262e813b6234038e65
3
+ metadata.gz: 229379dde6560a251c0f3fa707cdff309ce89f88995de14e99e45677555b4d68
4
+ data.tar.gz: 07f66329742e50a817683c73a196989c400b6dbf6083eb7e2eccfaa2108052a4
5
5
  SHA512:
6
- metadata.gz: 4dbec9b0e38d2137f9722222caa0daf0fad5e12589296cf7d4560720a1a7f551ba4b3501460a3623ee4e9040c22634180d4964cbbcb5661903f37721f62c5688
7
- data.tar.gz: 267e784b7651610f26afdbd1da8ca106eac503d77abc19aac35fc1b74ee4dc17d43e4788e61eb99b26dcc96dd6ab31a8e1fd3f016d7c8279a98453a2a57e7a24
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
+ [![License](https://img.shields.io/badge/License-Public%20Domain-brightgreen.svg)](https://unlicense.org/)
6
+ [![GitHub stars](https://img.shields.io/github/stars/isene/GiTerm.svg)](https://github.com/isene/GiTerm/stargazers)
7
+ [![Stay Amazing](https://img.shields.io/badge/Stay-Amazing-blue.svg)](https://isene.org)
2
8
 
3
9
  ![Ruby](https://img.shields.io/badge/language-Ruby-red) [![Gem Version](https://badge.fury.io/rb/giterm.svg)](https://badge.fury.io/rb/giterm) ![License](https://img.shields.io/badge/license-Public_Domain-green)
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 = '2.0.0'
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
- PgDown = Page down in right pane
314
- PgUp = Page up in right pane
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 PgUp/PgDn:Page g/G:Top/End J/K:Scroll d:Diff l:Log b:Branches TAB:GitHub q:Quit'
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
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: 2.0.0
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-15 00:00:00.000000000 Z
11
+ date: 2025-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rcurses
@@ -54,8 +54,8 @@ dependencies:
54
54
  version: '13.0'
55
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
- Version 2.0.0: Breaking change - requires rcurses 6.0.0+ with explicit initialization
58
- for Ruby 3.4+ compatibility.'
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: