(msg tea.KeyPressMsg)
| 328 | return m, nil |
| 329 | |
| 330 | case ctrlCResetMsg: |
| 331 | m.ctrlCOnce = false |
| 332 | m.updateHelpBindings() |
| 333 | return m, nil |
| 334 | |
| 335 | case tea.BackgroundColorMsg: |
| 336 | // The terminal knows its background; a theme file that states a mode knows better. |
| 337 | if !m.theme.HasMode && m.theme.Dark != msg.IsDark() { |
| 338 | theme := m.theme |
| 339 | theme.Dark = msg.IsDark() |
| 340 | m.restyle(theme) |
| 341 | } |
no test coverage detected