Skip to content

PTB is getting extra newlines in large decho which includes its own newline characters #6321

@demonnic

Description

@demonnic

Brief summary of issue / Description of requested feature:

I just noticed tonight in the PTB that the REPLet header is getting additional newlines in it somehow when compared to the current release. Same profile in both cases so the same code.

PTB 2022-09-06
image

4.16.0 release
image

Steps to reproduce the issue / Reasons for adding feature:

  1. Install REPLet (https://github.com/demonnic/REPLet/releases/download/v1.1.1/REPLet.mpackage)
  2. Open it in both 4.16.0 and PTB
  3. Observe difference

Error output / Expected result of feature

They should display the same in both cases. I've not had a chance to dig yet but I feel this may be related to the recent wrapping change for consoles.

Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:

PTB 2022-09-06

The code in question is doing a large decho which includes its own \n characters between lines, but it's getting an additional one added, it looks like. It's Geyser.MiniConsole:decho() ultimately.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions