mpv icon indicating copy to clipboard operation
mpv copied to clipboard

console.lua: implement horizontal scroll

Open guidocella opened this issue 2 months ago • 3 comments

Bind Shift+LEFT, Shift+RIGHT, Shift+WHEEL_DOWN, Shift+WHEEL_UP, WHEEL_LEFT, WHEEL_RIGHT to scroll the menu horizontally.

This lets you see long items that get clipped, like long history entries and key bindings.

guidocella avatar Oct 17 '25 16:10 guidocella

https://github.com/mpv-player/mpv/pull/15956#discussion_r1967951003 characters outside the window are also visible after scrolling to the right, so the text must be cut based on utf8 characters, and ... needs to be added after cutting. or simply not cutting the text at all, but the performance might be very poor when the text is large.

image

verygoodlee avatar Oct 24 '25 02:10 verygoodlee

Fixed

guidocella avatar Oct 24 '25 08:10 guidocella