mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-29 23:17:32 +02:00
more accurate comment
This commit is contained in:
parent
b3a7acbdad
commit
d6005dc0eb
@ -301,11 +301,9 @@ type guiState struct {
|
|||||||
ContextStack []Context
|
ContextStack []Context
|
||||||
ViewContextMap map[string]Context
|
ViewContextMap map[string]Context
|
||||||
|
|
||||||
// WindowViewNameMap is a mapping of windows to the current view of that window.
|
// WindowViewNameMap is a mapping of windows to the current view of that window.
|
||||||
// Currently the only case where the distinction between a window and a view
|
// Some views move between windows for example the commitFiles view and when cycling through
|
||||||
// matters is with the commits view and the commitFiles view which both appear
|
// side windows we need to know which view to give focus to for a given window
|
||||||
// in the same place (and thus constitute the 'commits' window).
|
|
||||||
// If a window contains only one view, it shares the same name as the view.
|
|
||||||
WindowViewNameMap map[string]string
|
WindowViewNameMap map[string]string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user