forked from tildetown/town
fix issue where msgScroll did not scroll
parent
96d487ede2
commit
9b1143e18d
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue