cloudhead / cloudhead/rx

Command history doesn't place the cursor at the end of retrieved lines

Open
#76 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
3.5k
Forks
110
PR merge metrics
No merged PRs in 30d

Description

When I press Up in command mode in rx 0.4.0 to retrieve a previous command, the cursor remains in its original position at the beginning of the line.

Personally, I see this as the most useless place to put it in this situation but, more objectively, it's at odds with how readline (bash, Python's `rlcompleter`, etc.), ZLE (zsh), and the Javascript consoles in the Firefox and Chrome developer tools behave. (They put the cursor at the end of the retrieved line, as if you'd just typed it manually.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.