mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-30 23:57:43 +02:00 
			
		
		
		
	Allow focusing the main view for the status panel
I left this out originally because it's not needed for the status "dashboard" view (except on really tiny screens); however, it *is* useful after pressing `a` to show the all branches log, and even more so for people who use the "statusPanelView: allBranchesLog" config. And it doesn't really hurt for the dashboard view either, so just enable it always rather than making a distinction which view we are showing.
This commit is contained in:
		| @@ -340,6 +340,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` u `` | Check for update |  | | ||||
| | `` <enter> `` | Switch to a recent repo |  | | ||||
| | `` a `` | Show/cycle all branch logs |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## Sub-commits | ||||
|  | ||||
|   | ||||
| @@ -175,6 +175,7 @@ _凡例:`<c-b>` はctrl+b、`<a-b>` はalt+b、`B` はshift+bを意味 | ||||
| | `` u `` | 更新を確認 |  | | ||||
| | `` <enter> `` | 最近のリポジトリをチェックアウト |  | | ||||
| | `` a `` | ブランチログの表示モードを順に切り替え |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## セカンダリ | ||||
|  | ||||
|   | ||||
| @@ -233,6 +233,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` u `` | 업데이트 확인 |  | | ||||
| | `` <enter> `` | 최근에 사용한 저장소로 전환 |  | | ||||
| | `` a `` | Show/cycle all branch logs |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## 서브모듈 | ||||
|  | ||||
|   | ||||
| @@ -340,6 +340,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` u `` | Check voor updates |  | | ||||
| | `` <enter> `` | Wissel naar een recente repo |  | | ||||
| | `` a `` | Show/cycle all branch logs |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## Sub-commits | ||||
|  | ||||
|   | ||||
| @@ -320,6 +320,7 @@ _Legenda: `<c-b>` oznacza ctrl+b, `<a-b>` oznacza alt+b, `B` oznacza shift+b_ | ||||
| | `` u `` | Sprawdź aktualizacje |  | | ||||
| | `` <enter> `` | Przełącz na ostatnie repozytorium |  | | ||||
| | `` a `` | Show/cycle all branch logs |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## Sub-commity | ||||
|  | ||||
|   | ||||
| @@ -349,6 +349,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` u `` | Verificar atualização |  | | ||||
| | `` <enter> `` | Mudar para um repositório recente |  | | ||||
| | `` a `` | Mostrar/ciclo todos os logs de filiais |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## Sub-commits | ||||
|  | ||||
|   | ||||
| @@ -307,6 +307,7 @@ _Связки клавиш_ | ||||
| | `` u `` | Проверить обновления |  | | ||||
| | `` <enter> `` | Переключиться на последний репозиторий |  | | ||||
| | `` a `` | Show/cycle all branch logs |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## Теги | ||||
|  | ||||
|   | ||||
| @@ -341,6 +341,7 @@ _图例:`<c-b>` 意味着ctrl+b, `<a-b>意味着Alt+b, `B` 意味着shift+b_ | ||||
| | `` u `` | 检查更新 |  | | ||||
| | `` <enter> `` | 切换到最近的仓库 |  | | ||||
| | `` a `` | 显示/循环所有分支日志 |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## 确认面板 | ||||
|  | ||||
|   | ||||
| @@ -363,6 +363,7 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B | ||||
| | `` u `` | 檢查更新 |  | | ||||
| | `` <enter> `` | 切換到最近使用的版本庫 |  | | ||||
| | `` a `` | Show/cycle all branch logs |  | | ||||
| | `` 0 `` | Focus main view |  | | ||||
|  | ||||
| ## 確認面板 | ||||
|  | ||||
|   | ||||
| @@ -260,6 +260,7 @@ func (gui *Gui) resetHelpersAndControllers() { | ||||
| 	} | ||||
|  | ||||
| 	for _, context := range []types.Context{ | ||||
| 		gui.State.Contexts.Status, | ||||
| 		gui.State.Contexts.Files, | ||||
| 		gui.State.Contexts.Branches, | ||||
| 		gui.State.Contexts.RemoteBranches, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user