diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-12 20:57:12 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-12 20:57:12 -0800 |
| commit | cfd583e9166330f053fa7cc28258b4467c48459c (patch) | |
| tree | bdea6e91c25e04b6e483a58040d386876593a457 /models | |
| parent | fa037e748bb2ba65f75ba104e18d460a8fbcd49b (diff) | |
| download | neko-cfd583e9166330f053fa7cc28258b4467c48459c.tar.gz neko-cfd583e9166330f053fa7cc28258b4467c48459c.tar.bz2 neko-cfd583e9166330f053fa7cc28258b4467c48459c.zip | |
Fix nil-pointer panics in TUI and add unit tests
- Initialized list models in NewModel to prevent panic on WindowSizeMsg
- Added nil check for selectedFeed in itemsMsg handler
- Created tui/tui_test.go with unit tests for state transitions and resizing
- Verified all tests pass
Diffstat (limited to 'models')
0 files changed, 0 insertions, 0 deletions
