Skip to content

Bad overflow when editing multiline text #21

Description

@mappu

Hi, thanks for all your work on this library.

Using release v4.2.2, with Konsole 25.04 (or xterm), I have a problem with editing a multiline text, as soon as the input overflows onto a second line, it seems like there's some off-by-one with the character position. Editing is messed up and sometimes the whole second line will be re-printed.

My usage is only

rl := readline.NewInstance()
rl.SetPrompt("> ")
for {
    line, err := rl.Readline()

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