renderBranchWarningView renders the branch warning dialog.
()
| 1084 | |
| 1085 | // renderBranchWarningView renders the branch warning dialog. |
| 1086 | func (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. |
| 1092 | func (a App) handleBranchWarningKeys(msg tea.KeyMsg) (tea.Model, tea.Cmd) { |