Skip to content

cecho behavior change with newlines and creplaceLine #8824

@ZookaOnGit

Description

@ZookaOnGit

Brief summary of issue:

cecho behavior change with newlines and creplaceLine causing different display output. Previously the text was appended on the same line, now it is appended on a different line.

Steps to reproduce the issue:

  1. Create a trigger that matches string 'REPLACE_ME'
  2. Add trigger code: cecho("\n"), selectCurrentLine(), creplaceLine("REPLACED"), cecho("(cecho)")
  3. Trigger the pattern and observe display output

Error output

N/A

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

User reports behavior changed between versions but doesn't specify which versions. New behavior shows different text positioning compared to old behavior. User mentions it's easily fixable on their end.

New:

Image

Old:

Image

Auto-generated from Discord by mudlet-bug-bot • Reporter: ZookaSource message

Metadata

Metadata

Assignees

No one assigned

    Labels

    Lua onlyIssues with this label can be fixed by solely modifying lua coderegression

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions