Skip to content

bug?: labels not wrapped as expected #445

@Porges

Description

@Porges

Labels look like they are not being wrapped correctly. I'm seeing this:

gedcomfy::error

  × A problem was found in the GEDCOM file
  ╰─▶ gedcom::version::missing
      
        × GEDCOM file appeared to be syntactically valid, but no version could
        │ be found
         ╭─[1:1]
       1 │ ╭─▶ 0 HEAD
       2 │ ├─▶ 1 FOO X
         · ╰──── this is the head record, which should contain the GEDCOM
      version
       3 │     0 TRLR
         ╰────
        help: GEDCOM version can be explicitly set using the `--force-version`
              flag

I would have expected something more like this, with 'version' aligned and another dot in the left-hand margin:


         · ╰──── this is the head record, which should contain the GEDCOM
         .       version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions