jesseduffield.lazygit/pkg/gui
Stefan Haller 0e4d266a52 Fix pressing escape after clicking in diff view
When clicking in a single-file diff view to enter staging (or custom patch
editing, when coming from the commit files panel), you needed to press escape
twice to exit, where the first press would seemingly do nothing.

The reason for this was that after clicking in the diff we end up in non-sticky
range select mode, but only with a single line selected, which is basically
indistinguishable from line select mode.
2024-08-17 11:30:38 +02:00
..
context Remove bool return value of GetParentContext() 2024-08-17 11:14:51 +02:00
controllers Remove bool return value of GetParentContext() 2024-08-17 11:14:51 +02:00
filetree Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
keybindings Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
mergeconflicts Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
modes rename sha to hash 5 2024-04-12 08:33:47 +02:00
patch_exploring Fix pressing escape after clicking in diff view 2024-08-17 11:30:38 +02:00
popup Allow editing a custom command from the suggestions list by pressing 'e' 2024-05-19 07:06:18 +02:00
presentation Fix lack of icon assignation when extension don't match capitalization 2024-08-08 15:18:02 -06:00
services/custom_commands Set SelectedPath to SelectedCommitFilePath in CommitFiles context 2024-08-17 11:26:31 +02:00
status Clean up error handling of WithWaitingStatus and WithWaitingStatusSync 2024-04-18 10:10:30 +02:00
style Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
types Expose SelectedCommit to custom commands, deprecate Selected{Local,Reflog,Sub}Commit 2024-08-17 11:26:31 +02:00
background.go Log memory usage every 10s 2024-06-23 11:48:40 +02:00
command_log_panel.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
context.go Expose SelectedCommit to custom commands, deprecate Selected{Local,Reflog,Sub}Commit 2024-08-17 11:26:31 +02:00
context_config.go move some methods 2023-04-30 13:19:53 +10:00
controllers.go When using the panel jump keys and the target panel is already active, switch tabs 2024-08-17 10:37:00 +02:00
dummies.go Optimize number of early calls to GetRepoPaths 2024-07-06 12:09:48 -07:00
editors.go Add emacs-keybinds for word navigation 2023-08-15 12:22:17 +02:00
extras_panel.go Replace CurrentSideContext() with Context().CurrentSide() 2024-08-17 11:14:51 +02:00
global_handlers.go Replace CurrentSideContext() with Context().CurrentSide() 2024-08-17 11:14:51 +02:00
gui.go Replace CurrentContext() with Context().Current() 2024-08-17 11:14:51 +02:00
gui_common.go Replace ActivateContext() with Context().Activate() 2024-08-17 11:14:51 +02:00
gui_driver.go Replace CurrentContext() with Context().Current() 2024-08-17 11:14:51 +02:00
information_panel.go Use utils.StringWidth to optimize rendering performance 2024-06-23 13:10:48 +02:00
keybindings.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
layout.go Replace ActivateContext() with Context().Activate() 2024-08-17 11:14:51 +02:00
main_panels.go Run PTY tasks after layout so that they get the correct view size 2024-06-23 12:36:40 +02:00
menu_panel.go Replace PushContext() with Context().Push() 2024-08-17 11:14:50 +02:00
options_map.go Replace CurrentContext() with Context().Current() 2024-08-17 11:14:51 +02:00
pty.go Fix possible off-by-one error wrt PTY size 2024-06-23 12:36:40 +02:00
pty_windows.go Format code to pass lint 2021-09-16 21:38:43 +08:00
recent_repos_panel.go Optimize number of early calls to GetRepoPaths 2024-07-06 12:09:48 -07: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 Don't wait in integration tests when running in headless mode 2024-06-05 14:44:02 +02:00
view_helpers.go Replace CurrentStaticContext() with Context().CurrentStatic() 2024-08-17 11:14:51 +02:00
views.go Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00