diff options
| author | historia <[not public]> | 2026-06-29 01:41:49 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-29 01:41:49 -0400 |
| commit | 12ed73f9ff9de1a145683de8a73c170613371979 (patch) | |
| tree | 8b35d3dfda8231edcbc33e2fc2eb68000128e48c /internal/game/cmd_option.go | |
| parent | e9d87838590a02c7ca028fad8cd16e42a582dd32 (diff) | |
| download | thehouseoficarus-12ed73f9ff9de1a145683de8a73c170613371979.tar.gz | |
wrap_width and table improvements, targeting 80 character default width
Diffstat (limited to 'internal/game/cmd_option.go')
| -rw-r--r-- | internal/game/cmd_option.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_option.go b/internal/game/cmd_option.go index a2e54c2..958fc0b 100644 --- a/internal/game/cmd_option.go +++ b/internal/game/cmd_option.go @@ -35,7 +35,7 @@ func (g *Game) doOption(sess *net.Session, input string) { color.Render(mode, color.Parse("FC"), def.Description), }) } - for _, line := range table.Render(p.OptionBool("unicode")) { + for _, line := range table.Render(p.OptionBool("unicode"), p.OptionInt("wrap_width")) { sess.WriteLine(line) } return |
