fix issue where msgScroll did not scroll

trunk
vilmibm 2023-03-10 03:21:01 +00:00
parent 96d487ede2
commit 9b1143e18d
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ func _main(l *log.Logger, db *sql.DB) error {
} }
fmt.Fprintln(msgScroll, player.Say(msg)) fmt.Fprintln(msgScroll, player.Say(msg))
fmt.Fprintln(sm.Current.Input, msg) fmt.Fprintln(sm.Current.Input, msg)
msgScroll.ScrollToEnd()
} }
defer func() { defer func() {