Skip to content

bug: terminal: pasting a command with a \n at end messes up cursor when scrolling thru previous commands #287

@nick1udwig

Description

@nick1udwig

Describe the bug
See title

To Reproduce
Steps to reproduce the behavior:

  1. Copy a command, e.g., from Kinode book, with a newline at the end of it.
  2. Paste into terminal.
  3. .
  4. Scroll up to command history.
  5. Note cursor is bound to far left until you hit .

Expected behavior
Not sure. Maybe show the line + newline with cursor on second line?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions