MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / renderBranchWarningView

Method renderBranchWarningView

internal/tui/app.go:1086–1089  ·  view source on GitHub ↗

renderBranchWarningView renders the branch warning dialog.

()

Source from the content-addressed store, hash-verified

1084
1085// renderBranchWarningView renders the branch warning dialog.
1086func (a *App) renderBranchWarningView() string {
1087 a.branchWarning.SetSize(a.width, a.height)
1088 return a.branchWarning.Render()
1089}
1090
1091// handleBranchWarningKeys handles keyboard input for the branch warning dialog.
1092func (a App) handleBranchWarningKeys(msg tea.KeyMsg) (tea.Model, tea.Cmd) {

Callers 1

ViewMethod · 0.95

Calls 2

SetSizeMethod · 0.45
RenderMethod · 0.45

Tested by

no test coverage detected