Commit Graph

58 Commits

Author SHA1 Message Date
n loewen (aider) 6c319c1570 fix: Add show_line_numbers to AppState initialization 2025-06-08 08:38:16 +01:00
n loewen 850a56a2ff refactor: Simplify color pair initialization and remove unused color pairs 2025-06-08 08:38:07 +01:00
n loewen (aider) 26a10c5dbc fix: Move help_items definition to resolve popup rendering issue 2025-06-08 02:59:09 +01:00
n loewen (aider) ecce880cdb fix: Move help_items definition before height calculation in draw_help_popup 2025-06-08 02:56:06 +01:00
n loewen (aider) 4e07164bdc fix: Dynamically calculate help popup height to show all help items 2025-06-08 02:54:19 +01:00
n loewen (aider) a66b06daab refactor: Remove show_whole_diff flag and simplify diff mode handling 2025-06-08 02:52:59 +01:00
n loewen (aider) f08cae4773 fix: Reload commit content when toggling diff display modes 2025-06-08 02:48:53 +01:00
n loewen (aider) 9eaf186cc9 feat: Modify 'x' and 'a' keys to toggle off deletions/additions in diff mode 2025-06-08 02:44:02 +01:00
n loewen 9687b93326 style: Simplify help text for question mark key 2025-06-08 02:43:59 +01:00
n loewen (aider) 6c44fcea82 feat: Add keyboard shortcuts for toggling diff modes with 'd', 'a', and 'x' 2025-06-08 02:42:28 +01:00
n loewen 4e10b79b8e refactor: Adjust help popup layout and formatting 2025-06-08 02:42:24 +01:00
n loewen (aider) 0ab7482d5d fix: Clear background of help popup to prevent text bleed-through 2025-06-08 02:36:31 +01:00
n loewen (aider) 78eaaf35e2 feat: Add help popup with keyboard shortcuts triggered by "?" 2025-06-08 02:35:03 +01:00
n loewen 8eaad2ae49 fix: Change line number toggle key from 'l' to 'L' 2025-06-08 02:34:58 +01:00
n loewen (aider) c4be052790 feat: Add 'c' and 'C' keys for jumping to next and previous changes 2025-06-08 02:32:18 +01:00
n loewen (aider) a2e78cbea9 feat: Add minimal search functionality to gtm tool
This commit introduces a basic search feature with the following capabilities:
- Press '/' to enter search mode
- Type search query and press Enter to search
- Navigate through matches with 'n' and 'N'
- Highlight search matches in the file view
- Display search match count in status bar
2025-06-08 02:29:25 +01:00
n loewen 386163a5b8 refactor: Remove line number indicator and change line number toggle key 2025-06-08 02:29:07 +01:00
n loewen (aider) 3bf54e38c7 feat: Add support for line numbers in main function signature 2025-06-08 02:21:05 +01:00
n loewen (aider) e4b65b98d1 feat: Add line numbers with color-coded display and toggle option 2025-06-08 02:20:16 +01:00
n loewen (aider) cfa96a436f refactor: Decouple clipboard selection from screen rendering using data model 2025-06-08 02:17:21 +01:00
n loewen 217174c647 style: Refine status bar indicators and spacing for better readability 2025-06-08 02:17:17 +01:00
n loewen (aider) a86704e531 fix: Improve "n" key navigation for change blocks 2025-06-08 02:09:28 +01:00
n loewen (aider) 229a1e9360 fix: Ensure 'n' key works for jumping to next change block 2025-06-08 02:07:13 +01:00
n loewen (aider) 7ff50bb49a fix: Resolve 'n' key navigation issue by using ASCII code 2025-06-08 02:05:47 +01:00
n loewen (aider) d86be60b40 fix: Enable 'n' key navigation across change blocks regardless of focus 2025-06-08 02:03:38 +01:00
n loewen (aider) 84073402e4 refactor: Remove scrollbar change markers and related code 2025-06-08 02:02:18 +01:00
n loewen (aider) bbfba3c644 refactor: Improve change navigation with block-based approach and context scrolling 2025-06-08 02:00:28 +01:00
n loewen (aider) 60b3af9108 feat: Add change navigation with visual markers and keyboard shortcuts 2025-06-08 01:56:52 +01:00
n loewen (aider) 49bc53d16d feat: Add git tracking check for untracked files with helpful error message 2025-06-08 01:53:10 +01:00
n loewen (aider) ed75b6fd37 fix: Implement no-wrap functionality for line display 2025-06-08 01:51:25 +01:00
n loewen (aider) a39c28c099 feat: Implement line wrapping with toggle and CLI option 2025-06-08 01:49:10 +01:00
n loewen (aider) cc25765a41 refactor: Use difflib.SequenceMatcher for improved line matching logic 2025-06-08 01:16:57 +01:00
n loewen (aider) 76e0e8789c refactor: Remove 'm' key mouse toggle functionality 2025-06-08 01:02:42 +01:00
n loewen (aider) ddb1119bb5 refactor: Convert AppState to pure dataclass with functional state management 2025-06-08 00:59:58 +01:00
n loewen fb7ae549f4 Replace 'gtm' file with updated version from 'gtm2.py' 2025-06-08 00:49:55 +01:00
n loewen (aider) 0f14188452 feat: Add mouse mode toggle with 'm' key and status bar indicator 2025-06-07 21:09:21 +01:00
n loewen (aider) f1f78386ff feat: Reverse mouse option to be enabled by default with --no-mouse flag 2025-06-07 21:06:50 +01:00
n loewen (aider) f48d090c4e feat: Add optional mouse support with --mouse command-line flag 2025-06-07 20:46:15 +01:00
n loewen aa1ef500b0 Bump minor version number -- now scroll position is maintained when switching versions 2025-06-07 20:27:12 +01:00
n loewen (aider) a985eacd0e refactor: Implement smart line matching for scroll position preservation 2025-06-07 20:26:09 +01:00
n loewen (aider) bc1c07ba29 fix: Preserve scroll position when navigating commits 2025-06-07 20:22:06 +01:00
n loewen (aider) af9c9f787e fix: Preserve scroll position when switching commits in file view 2025-06-07 20:20:21 +01:00
n loewen (aider) 2df25ac089 feat: Preserve scroll position percentage when switching commits 2025-06-07 20:18:52 +01:00
n loewen (aider) 4a780cf193 refactor: Simplify argparse setup and help handling 2025-06-07 20:15:27 +01:00
n loewen 0ba3259319 feat: Add whole diff option and improve help display for GTM 2025-06-07 20:15:24 +01:00
n loewen (aider) 54b361aead style: Align code display by padding non-modified lines 2025-06-07 20:05:50 +01:00
n loewen (aider) 90a9f311fc refactor: Improve diff parsing and display logic for deleted and added lines 2025-06-07 20:04:30 +01:00
n loewen (aider) 794f6d0716 refactor: Improve handling of deleted lines in diff display 2025-06-07 20:01:01 +01:00
n loewen (aider) d76e5bdc17 fix: Improve display of added and deleted lines with proper formatting and positioning 2025-06-07 19:57:14 +01:00
n loewen (aider) 2954f16cfd fix: Initialize start_line and del_start to prevent UnboundLocalError 2025-06-07 19:53:27 +01:00