MCPcopy
hub / github.com/jesseduffield/lazygit / parseScreenModeArg

Function parseScreenModeArg

pkg/gui/gui.go:681–690  ·  view source on GitHub ↗
(screenModeArg string)

Source from the content-addressed store, hash-verified

679}
680
681func parseScreenModeArg(screenModeArg string) types.ScreenMode {
682 switch screenModeArg {
683 case "half":
684 return types.SCREEN_HALF
685 case "full":
686 return types.SCREEN_FULL
687 default:
688 return types.SCREEN_NORMAL
689 }
690}
691
692func initialContext(contextTree *context.ContextTree, startArgs appTypes.StartArgs) types.IListContext {
693 var initialContext types.IListContext = contextTree.Files

Callers 1

initialScreenModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected