Skip to content

REPL: moving to beginning of line broken after selecting previous history item #60779

@matthias314

Description

@matthias314

Enter a multi-line command on the REPL. Press Enter and then Ctrl-Up to get the input back, with the cursor being at the very end of input. Now press Ctrl-A. Instead of moving to the beginning of the last line of the multi-line input, the cursor moves to the beginning of the first line. This happens for all Julia versions from (at least) 1.10 to master.

I've figured out that somehow the code path

if s.key_repeats > 0
move_input_start(s)

is triggered in the function move_line_start although Ctrl-A is only pressed once.

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