fix: nil pointer

This commit is contained in:
Slug-Boi
2025-04-16 13:16:02 +02:00
parent c24c277fb1
commit 0fe4624854
+1 -1
View File
@@ -278,7 +278,7 @@ func (m model_ca) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
case "ctrl+c", "esc":
tempAuthorToggle = false
m.inputs = nil
if parent_m.keys != nil {
if parent_m != nil {
return nil, nil
}
return m, tea.Quit