WIP: working on adding inputbox and wrapping the messages in a viewport

This commit is contained in:
2021-12-13 09:38:07 +02:00
parent c3f75c2a43
commit f56048fbf7
8 changed files with 128 additions and 9 deletions
+4 -1
View File
@@ -24,7 +24,10 @@ import (
)
func main() {
if err := tea.NewProgram(app.InitialState(), tea.WithAltScreen()).Start(); err != nil {
if err := tea.NewProgram(app.InitialState(),
tea.WithAltScreen(),
tea.WithMouseCellMotion(),
).Start(); err != nil {
log.Fatal(err)
}
}