From db4f6474c9c27e41742f3eb2b9951c37fd16da98 Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Tue, 28 Jun 2022 15:34:22 -0400 Subject: [PATCH] doc: Fix `Printf` typo (#358) --- tea.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tea.go b/tea.go index ff58746..59b48f9 100644 --- a/tea.go +++ b/tea.go @@ -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{}) {