Skip to content
Myr

chore: fix some comments

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by yingshanghuangqiao · committed by Christian Rocha · parent c3136ed · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:inputreader_windows.go+1 added-1 removed
106 unmodified lines
107108 return originalMode, nil109}110111// cancelMixin represents a goroutine-safe cancelation status.111// cancelMixin represents a goroutine-safe cancellation status.112type cancelMixin struct {113 unsafeCanceled bool114 lock sync.Mutex115}
14 unmodified lines
modified:tea.go+2 added-2 removed
71 unmodified lines
72 ttyInput73 customInput74)7576// String implements the stringer interface for [inputType]. It is inteded to76// String implements the stringer interface for [inputType]. It is intended to77// be used in testing.78func (i inputType) String() string {79 return [...]string{80 "default input",
138 unmodified lines
219//220// You can send this message with [Suspend()].221type SuspendMsg struct{}222223// ResumeMsg can be listen to to do something once a program is resumed back223// ResumeMsg can be listen to do something once a program is resumed back224// from a suspend state.225type ResumeMsg struct{}226227// InterruptMsg signals the program should suspend.
677 unmodified lines