From 4f40f116ba884111c9a66849e620ff9fbc67530a Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 2 Oct 2026 14:43:26 -0400 Subject: feat: compact craps layout, ux cleanup --- internal/game/cmd_look.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'internal/game/cmd_look.go') diff --git a/internal/game/cmd_look.go b/internal/game/cmd_look.go index 70bc2c2..38cc83c 100644 --- a/internal/game/cmd_look.go +++ b/internal/game/cmd_look.go @@ -56,7 +56,11 @@ func (g *Game) doLook(sess *net.Session) { } } - g.showRoomExits(sess, p, room) + // When the minimap is taller than the room content it already renders + // empty content rows below the last line, so the exit section must not + // add another gap on top of them: that is what read as two blank lines. + addExitGap := !(mapOn && len(mapLines) > len(content)) + g.showRoomExits(sess, p, room, addExitGap) g.showRoomPlayers(sess, p, room) // Seated at a table: look keeps its room-first order, then appends the // live game state and the current hint menu. -- cgit v1.2.3