mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
fix: nil pointer
This commit is contained in:
@@ -278,7 +278,7 @@ func (m model_ca) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||||||
case "ctrl+c", "esc":
|
case "ctrl+c", "esc":
|
||||||
tempAuthorToggle = false
|
tempAuthorToggle = false
|
||||||
m.inputs = nil
|
m.inputs = nil
|
||||||
if parent_m.keys != nil {
|
if parent_m != nil {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
return m, tea.Quit
|
return m, tea.Quit
|
||||||
|
|||||||
Reference in New Issue
Block a user