doc: Fix `Printf` typo (#358)

This commit is contained in:
Maas Lalani 2022-06-28 15:34:22 -04:00 committed by GitHub
parent ca32c4c628
commit db4f6474c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

7
tea.go
View File

@ -710,11 +710,8 @@ func (p *Program) RestoreTerminal() error {
return nil
}
// Printf prints above the Program. This output is unmanaged by the program and
// will persist across renders by the Program.
//
// Unlike fmt.Printf (but similar to log.Printf) the message will be print on
// its own line.
// Println prints above the Program. This output is unmanaged by the program
// and will persist across renders by the Program.
//
// If the altscreen is active no output will be printed.
func (p *Program) Println(args ...interface{}) {