1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-10 04:07:18 +02:00
lazygit/pkg/gui
Jesse Duffield 1a6d269063 split main view vertically
When staging lines (or doing anything that requires the main view to split into two)
we want to split vertically if there's not much width available in the window.
If there is enough width we will split horizontally. The aim here is to allow for
sufficient room in the side panel. We might need to tweak this or make it configurable
but I think it's set to a pretty reasonable default i.e. switching to split vertically
when the window width falls under 220
2020-01-29 18:44:50 +11:00
..
app_status_manager.go show loading status for rebasing events 2019-03-03 15:21:33 +11:00
branches_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
commit_files_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
commit_message_panel.go fix commit message char count 2019-12-07 16:21:26 +11:00
commits_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
confirmation_panel.go refactor confirmation prompt code 2019-11-21 22:07:14 +11:00
context.go add contexts to views 2019-11-21 22:07:14 +11:00
credentials_panel.go do not return focus to commitsFiles view after selecting to start a new patch 2019-11-05 19:22:01 +11:00
file_watching.go handle when fsnotify doesn't work 2020-01-12 14:46:23 +11:00
files_panel.go safely unstage lines 2020-01-29 18:19:11 +11:00
git_flow.go add git flow support 2020-01-08 22:03:15 +11:00
gui.go split main view vertically 2020-01-29 18:44:50 +11:00
keybindings.go add reflog reset options 2020-01-09 22:36:07 +11:00
line_by_line_panel.go add contexts to views 2019-11-21 22:07:14 +11:00
list_view.go reset origin when clicking on list item 2020-01-12 13:55:14 +11:00
menu_panel.go fix display of menu option keybindings 2020-01-07 13:26:29 -08:00
merge_panel.go Missed a spot with this new string task thing 2020-01-12 14:43:17 +11:00
options_menu_panel.go fixed keybinding display in merge_panel.go 2020-01-07 09:50:25 -08:00
patch_building_panel.go add contexts to views 2019-11-21 22:07:14 +11:00
patch_options_panel.go add contexts to views 2019-11-21 22:07:14 +11:00
quitting.go allow for changing the current directory on exit 2019-11-11 21:45:31 +11:00
rebase_options_panel.go add mouse support 2019-11-10 22:32:13 +11:00
recent_repos_panel.go Rely on model rather than view to focus a point 2019-03-23 11:54:25 +11:00
reflog_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
reflog_reset_options_panel.go add reflog reset options 2020-01-09 22:36:07 +11:00
remote_branches_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
remotes_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
staging_panel.go safely unstage lines 2020-01-29 18:19:11 +11:00
stash_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
status_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
tags_panel.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
tasks_adapter.go allow fast flicking through any list panel 2020-01-12 11:17:20 +11:00
updates.go do not return focus to commitsFiles view after selecting to start a new patch 2019-11-05 19:22:01 +11:00
view_helpers.go stop the files panel from stealing focus whenever files are refreshed 2019-12-08 21:27:28 +11:00
workspace_reset_options_panel.go refresh side panels when resetting to upstream 2020-01-08 22:30:54 +11:00