mpv-repl icon indicating copy to clipboard operation
mpv-repl copied to clipboard

remember command history between sessions

Open stax76 opened this issue 4 years ago • 2 comments

Hello,

remember command history between sessions would be very useful I think. Awesome extension anyway!

stax76 avatar Jul 26 '19 16:07 stax76

I actually want that sometimes too.

ghost avatar Nov 22 '19 00:11 ghost

Yeah, this would be useful. If I add this feature, I want to do it right though, and it could be complicated. If there are two instances of mpv, for example, I think I'd want them to both atomically append to the history file, and be able to read each other's commands. They also should probably trim the history file to a maximum number of lines.

Permanent command history should probably come with a search feature too, like Ctrl+R in readline.

rossy avatar Nov 22 '19 11:11 rossy