Skip to content

Formatting (line-wrapping) of dungeon overview #1695

Open

Description

@zahlman

With some anonymization/genericization, when a bones level has been uncovered, I see level entries in dungeon overviews that look like:

   Level N:
      An armor shop, some graves.
      Final resting place for
         player-Rol-Rac-Sex-Aln, killed by a monster,
player-Rol-Rac-Sex-Aln, killed by a kitten called petname, while fainted from
lack of food,
         player-Rol-Rac-Sex-Aln, killed by a monster.

The issue is that although the long line is line-wrapped, its indentation has been reset. I would instead have expected:

   Level N:
      An armor shop, some graves.
      Final resting place for
         player-Rol-Rac-Sex-Aln, killed by a monster,
         player-Rol-Rac-Sex-Aln, killed by a kitten called petname, while
         fainted from lack of food,
         player-Rol-Rac-Sex-Aln, killed by a monster.

Tested on 3.6.7 as installed by Apt on Mint 22.3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions