Skip to content

Commit 9b55778

Browse files
Improve comment for Sender interface
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 3ad44fc commit 9b55778

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/output/tui_sink.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package output
22

3-
// Sender is implemented by bubbletea Program and test doubles.
3+
// Sender abstracts Bubble Tea's Program.Send to keep TUISink decoupled and testable.
44
type Sender interface {
55
Send(msg any)
66
}
7+
}
78

89
type TUISink struct {
910
sender Sender

0 commit comments

Comments
 (0)