mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
8.09k stars 644 forks source link

easier access to input history #1141

Open yardenac opened 3 years ago

yardenac commented 3 years ago

Since https://github.com/mps-youtube/mps-youtube/issues/37 we can search our input history with ctrl-r and ctrl-s, but this feature could be made even more accessible. In bash we have the option of binding the up and down keys, as explained here:

"\e[A": history-search-backward
"\e[B": history-search-forward

For example, if I wanted to redo a specific previous commands starting with the string "user", I could just type us and then press up up up down enter. So much easier! Any way we can implement this in mpsyt?