mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
docs: fix typos and clean up comments
This commit is contained in:
committed by
Christian Rocha
parent
76c3c1a221
commit
4880cf2a09
@@ -41,7 +41,7 @@ func WithInput(input io.Reader) ProgramOption {
|
||||
}
|
||||
}
|
||||
|
||||
// WithInputTTY open a new TTY for input (or console input device on Windows).
|
||||
// WithInputTTY opens a new TTY for input (or console input device on Windows).
|
||||
func WithInputTTY() ProgramOption {
|
||||
return func(p *Program) {
|
||||
p.startupOptions |= withInputTTY
|
||||
@@ -144,7 +144,7 @@ func WithoutRenderer() ProgramOption {
|
||||
// WithANSICompressor removes redundant ANSI sequences to produce potentially
|
||||
// smaller output, at the cost of some processing overhead.
|
||||
//
|
||||
// This feature is provisional, and may be changed removed in a future version
|
||||
// This feature is provisional, and may be changed or removed in a future version
|
||||
// of this package.
|
||||
func WithANSICompressor() ProgramOption {
|
||||
return func(p *Program) {
|
||||
|
||||
Reference in New Issue
Block a user