mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Fix a bug where left area on the first line was not always cleared
This commit is contained in:
6
tea.go
6
tea.go
@@ -197,14 +197,12 @@ func (p *Program) Start() error {
|
||||
}
|
||||
}
|
||||
|
||||
// AltScreen exits the altscreen. This is just a wrapper around the termenv
|
||||
// function.
|
||||
// AltScreen enters the alternate screen buffer.
|
||||
func AltScreen() {
|
||||
termenv.AltScreen()
|
||||
}
|
||||
|
||||
// ExitAltScreen exits the altscreen. This is just a wrapper around the termenv
|
||||
// function.
|
||||
// ExitAltScreen exits the alternate screen buffer.
|
||||
func ExitAltScreen() {
|
||||
termenv.ExitAltScreen()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user