From 62017c86392b046d746fb4fafef6742840477c5f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 2 Oct 2026 02:16:44 -0400 Subject: feat: polish 'list' output, drop sitout command --- internal/casino/roulette.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'internal/casino/roulette.go') diff --git a/internal/casino/roulette.go b/internal/casino/roulette.go index 8949ff8..de6536f 100644 --- a/internal/casino/roulette.go +++ b/internal/casino/roulette.go @@ -502,6 +502,13 @@ func (t *rouletteTable) view() *RouletteSnapshot { } return s } + +// board is the table-only view for the table command. +func (t *rouletteTable) board(_ string) Snapshot { + t.mu.Lock() + defer t.mu.Unlock() + return t.view() +} func (t *rouletteTable) menuEvent(name string) Event { commands := []MenuCommand{} p := t.players.get(name) @@ -512,7 +519,7 @@ func (t *rouletteTable) menuEvent(name string) Event { } } if p != nil { - commands = append(commands, MenuCommand{Command: "sitout / stop", Desc: "Sit out / leave when your wager settles"}) + commands = append(commands, MenuCommand{Command: "stop", Desc: "Leave when your wager settles"}) } commands = append(commands, MenuCommand{Command: "table", Desc: "View the layout"}) if p != nil { -- cgit v1.2.3