init commit

This commit is contained in:
2026-01-25 17:13:15 -06:00
commit 1bbfc332d8
27 changed files with 2462 additions and 0 deletions

29
internal/app/messages.go Normal file
View File

@@ -0,0 +1,29 @@
package app
import "time"
// TickMsg is sent periodically to update playback position
type TickMsg time.Time
// WaveformLoadedMsg is sent when waveform data is ready
type WaveformLoadedMsg struct {
Samples []float64
Err error
}
// ErrorMsg represents an error
type ErrorMsg struct {
Err error
}
// SavedMsg is sent when transcript is saved
type SavedMsg struct {
Path string
Err error
}
// VimExitedMsg is sent when vim finishes editing
type VimExitedMsg struct {
Path string
Err error
}