added tea.WithAltScreen() to get alt screen buffer
This commit is contained in:
parent
cc7f12a305
commit
0cb41d9cdf
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ func Run() error {
|
||||||
cursorCol: offset % numCols,
|
cursorCol: offset % numCols,
|
||||||
startOffset: offset,
|
startOffset: offset,
|
||||||
mode: monthView,
|
mode: monthView,
|
||||||
})
|
},tea.WithAltScreen())
|
||||||
_, err := p.Run()
|
_, err := p.Run()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue