From 12ed73f9ff9de1a145683de8a73c170613371979 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 29 Jun 2026 01:41:49 -0400 Subject: wrap_width and table improvements, targeting 80 character default width --- internal/game/look_room.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/game/look_room.go') diff --git a/internal/game/look_room.go b/internal/game/look_room.go index 585efb0..f35d564 100644 --- a/internal/game/look_room.go +++ b/internal/game/look_room.go @@ -35,8 +35,7 @@ func (g *Game) roomSymbolBracket(sess *net.Session, p *player.Player, room *worl color.Render(mode, dimSpec, "]") } -func (g *Game) showRoomDescription(sess *net.Session, p *player.Player, room *world.Room) []string { - descWidth := p.OptionInt("room_desc_width") +func (g *Game) showRoomDescription(sess *net.Session, p *player.Player, room *world.Room, descWidth int) []string { if descWidth <= 0 { descWidth = 70 } -- cgit v1.2.3