mudlet/.github/workflows
Vadim Peretokin c8b74af46d
fix: undoing the game's line wrapping no longer merges list entries (#9836)
#### Brief overview of PR changes/additions

- A line opening with a list marker - `[1364]`, `(3)`, `2.`, `3)` or a
bullet - is now treated as a new line rather than the continuation of
the one above it, so help indexes, shop stock and menus survive the
option being on.
- Only markers that word wrap could not itself produce at the start of a
continuation count. A spaced dash and a parenthesised number over 3
digits are deliberately excluded, since both open genuine wrapped prose.
- 3 new functional tests, including negative controls proving ordinary
prose still rejoins.

#### Motivation for adding to Mudlet

With "undo the game's word wrapping" enabled at 78 columns, a help index
came out with entries glued together - each entry is a sentence that can
end right at the wrap column, so nothing but its marker distinguished it
from a wrapped paragraph.

#### Other info (issues closed, discussion etc)

Also raises the Windows Lua test step to the 3 minute budget Linux and
macOS already have - it was left at 2 and timed out on a slow runner
while the specs were still running. Folded in here rather than split
out, by request.

Follow-up to #9455, which added the option. The check reads the
continuation only, so the last entry of a list can still absorb a
full-width prose line that follows it - left alone deliberately, as
requiring a marker on both lines would stop the first entry of a list
detaching from a header above it.

**Test case:** enable Settings -> Display -> "undo the game's own word
wrapping" at 78, then on a game with a numbered help index (e.g. `help
viking`) confirm each `[NNN]` entry stays on its own line. `ctest -R
UndoServerWrapTest` covers it - 15/15 pass.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Vadim Peretokin <vadim.peretokin@mudlet.org>

---------

Signed-off-by: Vadim Peretokin <vadim.peretokin@mudlet.org>
2026-08-13 11:39:13 +02:00
..
build-mudlet-pr.yml Infrastructure: busted specs for the last uncovered UI functions (#9775) 2026-08-11 08:08:27 +02:00
build-mudlet-win-pr.yml fix: undoing the game's line wrapping no longer merges list entries (#9836) 2026-08-13 11:39:13 +02:00
build-mudlet-win.yml fix: undoing the game's line wrapping no longer merges list entries (#9836) 2026-08-13 11:39:13 +02:00
build-mudlet.yml infrastructure: keep QTest's output visible when ctest runs on Windows (#9751) 2026-08-10 22:18:08 +02:00
check-mpackages.yml improve: ship every default package as an mpackage (#9626) 2026-08-04 10:18:48 +02:00
check_pr_labels.yml Infrastructure: Verify documentation is available for new features (#8028) 2025-08-19 09:57:29 +02:00
codeql-analysis.yml Infrastructure: Bump lukka/get-cmake from 4.4.0 to 4.4.2 (#9729) 2026-08-08 13:34:03 +02:00
codespell-analysis.yml Infrastructure: Bump actions/checkout from 6 to 7 (#9348) 2026-06-27 17:59:12 +02:00
create-github-release.yml infrastructure: reject a release tag that does not match APP_VERSION (#9701) 2026-08-07 06:14:11 +02:00
dangerjs.yml infrastructure: don't run DangerJS on release PRs (#9375) 2026-07-02 17:00:56 +02:00
generate-changelog.yml Infrastructure: Bump actions/checkout from 6 to 7 (#9348) 2026-06-27 17:59:12 +02:00
generate-coder-attribution.yml Infrastructure: Bump actions/checkout from 6 to 7 (#9348) 2026-06-27 17:59:12 +02:00
link-ptbs-to-dblsqd.yml Infrastructure: Bump actions/setup-node from 6 to 7 (#9457) 2026-07-17 20:04:44 +02:00
performance-analysis.yml Infrastructure: Bump lukka/get-cmake from 4.4.0 to 4.4.2 (#9729) 2026-08-08 13:34:03 +02:00
tag-pull-requests.yml infrastructure: assign milestones with the built-in token, not a PAT (#9696) 2026-08-06 08:14:12 +02:00
update-3rdparty.yml improve: ship every default package as an mpackage (#9626) 2026-08-04 10:18:48 +02:00
update-autocompletion.yml Infrastructure: Bump actions/setup-node from 6 to 7 (#9457) 2026-07-17 20:04:44 +02:00
update-en-us-plural.yml Infrastructure: Bump actions/checkout from 6 to 7 (#9348) 2026-06-27 17:59:12 +02:00
update-geyser-docs.yml Infrastructure: Bump actions/checkout from 6 to 7 (#9348) 2026-06-27 17:59:12 +02:00
update-translations.yml Infrastructure: Bump actions/checkout from 6 to 7 (#9348) 2026-06-27 17:59:12 +02:00