Commit graph

45 commits

Author SHA1 Message Date
42d0e541e8
Merge branch 'master' into terminal 2026-03-23 13:10:45 +01:00
a5df57f824
fix: sort filelist items 2026-03-17 22:27:35 +01:00
2f5d4ded3c
refactor: deduplicate toggle_panel_view
By allowing any panel to accept arguments.
2026-03-01 21:50:37 +01:00
cdd6fee9d6
refactor: compare widgets via the .ptr memeber instead of via their addresses
Widget is a handle type. Sort of a smart pointer. Comparing their addresses
is brittle because it requires keeping Widget pointers stable. This is
nonsense because Widget identity is actually determined by the actual
widget object it points to.

This big refactor elimits the requirement that Widget addresses remain
stable to work properly with Widget.walk and Widget.get.
2026-02-23 21:44:24 +01:00
5438f19015
feat: add alternate select (open in split) to find_in_files mode 2026-01-22 13:37:40 +01:00
2d5288aa6f
refactor: remove unused error return in Plane.put_yx and Plane.cursor_move_yx 2026-01-13 16:19:47 +01:00
a1455e8e3d
refactor: move from_client_box and to_client_box to Widget.Box 2025-12-01 15:43:55 +01:00
25a719382f
fix: store button click locations as signed values 2025-10-10 16:05:50 +02:00
ce87dcfa2b
refactor: pass relative click position to button click handlers
This a big refactor just to clean-up type definitions used by Button and Menu.
The goals is to pass the click position as a cursor object.
2025-10-09 19:11:25 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
4188e25df9
feat: add support for specifying byte positions in filelist_view 2025-08-17 22:32:44 +02:00
0c19cbd82d
feat: persist widget style changes 2025-08-14 15:55:09 +02:00
4d2c7d8a8c
refactor: unify list pointer rendering 2025-08-13 17:34:38 +02:00
bcfd17a0e2
feat: select widget styles based on widget type 2025-08-13 12:58:05 +02:00
d132df2d78
fix: use client_box correctly in filelist_view 2025-08-13 01:13:11 +02:00
efdad96054
refactor: improve create pattern to avoid leaks 2025-07-19 00:03:30 +02:00
1943d65924
Merge branch 'master' into zig-0.14 2025-03-06 17:14:56 +01:00
a5bf57e0e6
feat: add config options to disable scrollbars and/or file icons 2025-03-06 17:11:49 +01:00
53045123c6
build: update to zig 0.14.0-dev.3039 2025-02-04 22:59:18 +01:00
4145460012
refactor: simplify Plane/Widget usage 2025-01-23 16:12:56 +01:00
1c087203e0
fix: escape file list contents to avoid rendering garbage 2024-12-20 15:34:29 +01:00
f7ba83fd83
refactor: prefer Plane.fill for blanking with alpha 2024-12-12 19:25:44 +01:00
150374afae
feat: add argument metadata to (most) commands that take parameters 2024-11-21 17:34:11 +01:00
572f74d8ba
fix: alpha rendering in filelist_view 2024-11-18 21:21:30 +01:00
9421f4e7f6
fix: avoid some potential memory leaks in ripgrep and filelist_view 2024-11-04 22:20:07 +01:00
cfb9f8cf11
refactor: remove unused parameter in set_base_style 2024-11-04 22:20:06 +01:00
16c5471126
refactor: move command and EventHandler out of the tui module 2024-10-25 22:39:04 +02:00
d75dcd7b84
feat: add metadata to all commands 2024-09-17 23:00:53 +02:00
bf3fe5f2ba
refactor: run zigimports
closes: #38
2024-09-10 22:25:54 +02:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
521c7befef
fix: zero file list view position on reset() 2024-08-20 16:08:28 +02:00
4127cf8bcf feat: show diagnostics in the file list view if they refer to another file 2024-08-18 16:21:38 +02:00
8eaddfb6ee fix: don't truncate line numbers in filelist_view 2024-08-17 23:28:01 +02:00
50d47a73f2 feat: add mouse resizing of panel views 2024-08-13 19:38:35 +02:00
953fc8535c feat: add up/down/enter keybindings to find_in_files mode to browse and select matches 2024-08-12 23:23:17 +02:00
7a8191c139 fix(filelist): update scrollbar in move_next 2024-08-11 22:08:53 +02:00
c53067a7cd feat: use panel background in filelist view scrollbar 2024-08-11 21:32:23 +02:00
3cbca45b82 feat: improve layout of filelist view 2024-08-11 21:03:37 +02:00
3a7e124255 feat: make filelist_view fully mouse and keyboard scrollable 2024-08-11 20:28:38 +02:00
476baf768e fix: correct a couple of integer overflow errors 2024-08-07 20:32:25 +02:00
4fd1f4935c feat: start work on makeing filelist_view scrollable 2024-07-28 23:02:15 +02:00
9a6c5baf8b feat: add keybindings for next/previous file in filelist_view (A-n/p) 2024-07-28 22:41:07 +02:00
f535fc02bf feat: more work on new find in files results table 2024-07-27 23:57:56 +02:00
d22dcff571 feat: start work on file list view 2024-07-27 13:28:45 +02:00