E401 Commandline which does not fit screen is not redrawn correctly · Issue #7296 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Commandline which does not fit screen is not redrawn correctly #7296

@krobelus

Description

@krobelus

Steps to reproduce:

  1. Create a comandline that exceeds the terminal height:
bind \cg 'commandline -i "echo \'" (seq 1 $LINES)/$LINES "\'"'
  1. Hit Control+G

  2. Observe that fish fails to draw the last line

  3. Type something. The cursor moves but no characters are echoed.

Scrolling up to the prompt I see that fish has started drawing the commandline at the wrong location, resulting in this screen.

$ echo '
  1/59


  2/59
  3/59

Happens at least on 3.1.2 and current master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0