diff options
Diffstat (limited to 'internal/game/game.go')
| -rw-r--r-- | internal/game/game.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/game.go b/internal/game/game.go index 3cfd811..22dd74d 100644 --- a/internal/game/game.go +++ b/internal/game/game.go @@ -190,6 +190,10 @@ func (g *Game) handleGameCommand(sess *net.Session, input string) { return } + if sess.Player.OptionString("prompt_break") == "off" { + sess.ClearPrompt() + } + if sess.Account != nil && sess.Account.Aliases != nil { firstSpace := strings.Index(input, " ") var firstWord, rest string |
