Skip to content

replace and replaceall use escape characters like \t and \n #3126

@dustdfg

Description

@dustdfg

Description of the problem or steps to reproduce

I try to use replace and replaceall for replacing \t and \n but they don't recognize them as escape characters and just print nothing matches <...>. To clarify how I use them replaceall '\n' '...'

  1. It is impossible to insert tab into infowindow because it handles tabs. (I found the workaround: I need to select somewhere tab character, copy it and then insert via ctrl+v). Just writing \t doesn't work
  2. It is impossible to insert new line into infowindow because it handles them as confirm action. The same workaround with pasting via ctrl+v leads to another issue Weird multiline text pasting into info window #3113. If I insert new line via pasting it the command will end with error because doesn't expect to see end of line...

Specifications

Commit hash: 59dda01
OS: Debian12
Terminal: foot

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