jesseduffield.lazygit/pkg/gui
Stefan Haller d5b4f7bb3e Rerender certain views when their width changes
Situations where a view's width changes:
- changing screen modes
- enter staging or patch building
- resizing the terminal window

For the first of these we currently have special code to force a rerender, since
some views render different content depending on whether they are in full-screen
mode. We'll be able to remove that code now, since this new generic mechanism
takes care of that too.

But we will need this more general mechanism for cases where views truncate
their content to the view width; we'll add one example for that later in this
branch.
2023-10-16 09:03:07 +02:00
..
context Rerender certain views when their width changes 2023-10-16 09:03:07 +02:00
controllers When refreshing models, re-apply active filter for the corresponding view 2023-10-10 08:37:30 +02:00
filetree Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
keybindings Add disabled compat for user config (#2833) 2023-10-09 22:34:50 +03:00
mergeconflicts migrate patch building tests 2023-02-25 21:37:16 +11:00
modes Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
patch_exploring Stop cycling hunks when reaching the end 2023-08-15 11:40:40 +02:00
popup Remove unused WithLoaderPanel code 2023-09-20 13:30:49 +02:00
presentation Add inline status for pushing tags and deleting remote tags 2023-10-08 18:45:36 +02:00
services/custom_commands Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
status When pausing a task during a waiting status, hide the status while paused 2023-09-20 13:29:30 +02:00
style Stop hiding underscores for VSCode 2023-06-01 20:12:20 +10:00
types Rerender certain views when their width changes 2023-10-16 09:03:07 +02:00
background.go Ensure background refreshes don't bunch up 2023-07-10 17:30:44 +10:00
command_log_panel.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
context.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
context_config.go move some methods 2023-04-30 13:19:53 +10:00
controllers.go When refreshing models, re-apply active filter for the corresponding view 2023-10-10 08:37:30 +02:00
dummies.go feat: add GitVersion struct 2022-12-30 20:01:14 +09:00
editors.go Add emacs-keybinds for word navigation 2023-08-15 12:22:17 +02:00
extras_panel.go Extract a SaveAppStateAndLogError function 2023-09-04 17:50:49 +02:00
global_handlers.go Add demo test variant 2023-07-31 22:33:04 +10:00
gui.go Remove sync mutex 2023-10-08 18:45:36 +02:00
gui_common.go Add WithInlineStatus helper function 2023-10-08 18:45:36 +02:00
gui_driver.go Add a Click() primitive to the integration test library 2023-08-07 15:10:28 +01:00
information_panel.go If OpenLink errors, show a dialog instead 2023-08-09 13:12:40 +01:00
keybindings.go Add Enabled func to Binding 2023-09-18 10:20:23 +02:00
layout.go Rerender certain views when their width changes 2023-10-16 09:03:07 +02:00
main_panels.go Visualize the "ignore whitespace" state in the subtitle of the diff view 2023-05-20 12:58:32 +10:00
menu_panel.go Remove the magenta color on menu items that open a menu 2023-08-29 08:04:47 +02:00
options_map.go Add demo test variant 2023-07-31 22:33:04 +10:00
pty.go Make sure scrollbars have the right size initially 2023-03-21 18:26:18 +01:00
pty_windows.go Format code to pass lint 2021-09-16 21:38:43 +08:00
recent_repos_panel.go Use forward-slashes on windows 2023-07-30 18:35:24 +10:00
tasks_adapter.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
test_mode.go Disable the 40-second timeout for integration tests when debugging 2023-09-28 10:03:53 +02:00
view_helpers.go Log duration of post-refresh-update call 2023-07-29 09:39:22 +10:00
views.go feat: add jump-to-panel label setting 2023-09-09 09:45:08 +02:00