You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reline places cursor in the beginning of line if you haven't typed anything to search for. Video: https://youtu.be/_qwt6poHyvM
Expected behavior: place cursor at the end when there's nothing to search i.e. ignore search function and just bring the history item. This is how readline works.
Looks like reline interprets empty input as empty substring to search in history.
For those used to readline behavior this is very annoying, since it's the exact opposite.
Any chance this will be fixed? Or any pointers to try to tackle this?
Description
When using up arrow to search in history:
Reline places cursor in the beginning of line if you haven't typed anything to search for. Video: https://youtu.be/_qwt6poHyvM
Expected behavior: place cursor at the end when there's nothing to search i.e. ignore search function and just bring the history item. This is how readline works.
Looks like reline interprets empty input as empty substring to search in history.
Originally reported to Ruby https://bugs.ruby-lang.org/issues/20074 as 3.3 began using reline by default.
Terminal Emulator
Konsole, kitty, yakuake
The text was updated successfully, but these errors were encountered: