3 ms·
> And smooth scrolling works on regular neovim with https://github.com/psliwka/vim-smoothie https://github.com/psliwka/vim-smoothie Doesn't 'smooth scrolling'
by chrisseaton 5y ago
> And smooth scrolling works on regular neovim with https://github.com/psliwka/vim-smoothie https://github.com/psliwka/vim-smoothie
Doesn't 'smooth scrolling' mean scrolling in increments less than a full line, to avoid the janky jarring jump from one line to the next?
I don't get how you can do smooth scrolling in a terminal interface? The screenshots in that link aren't smooth - they jump whole lines at a time, unlike the screenshots you can see on the NeoVim page.
- MontyCarloHall 5y ago> I don't get how you can do smooth scrolling in a terminal interface? Via a terminal bitmap rendering protocol like sixel [0], or KiTTY’s terminal graphics protocol [1]? I wonder if a library like notcurses [2] could allow for efficient rendering of text to a terminal graphics framebuffer? [0] https://saitoha.github.io/libsixel/ https://saitoha.github.io/libsixel/ [1] https://sw.kovidgoyal.net/kitty/graphics-protocol/ https://sw.kovidgoyal.net/kitty/graphics-protocol/ [2] https://github.com/dankamongmen/notcurses https://github.com/dankamongmen/notcurses
- chrisseaton 5y agoYou mean do all the text rendering yourself and stream the image to the terminal? At that point why use a terminal rather than a graphics window?
- MontyCarloHall 5y agoRemote access is the big one. It’s 2021 and ssh somehow still remains by far the most robust protocol for remote interaction. X forwarding is awful, and VNC and its ilk require forwarding an entire desktop, which is inconvenient if you’re just interested in working in a single application, or having your client machine do its own window management. I agree, it’s an ironic state of affairs that in the era of cloud computing and thin clients (everything old is new again!) TUI graphics might be one of the best way of actually working remotely on those cloud VMs.
- jcelerier 5y agoWhy do this when you can just sshfs the source folder and configure your IDE to run its build commands through SSH?
- chrisseaton 5y agoI've been trying this for IntelliJ to be able to develop Java on a remote instance and it's intractably slow. Haven't figured out where the problem is yet - I guess maybe IntelliJ does some things that expect performance that the remote file system isn't able to provide.
- __s 5y agoIt's all relative. smoothie scrolls over multiple renders, rather than jumping a page all at once One line is plenty resolution. What next, you'll ask for subpixel rendering to deliver subpixel smooth scrolling?
- chrisseaton 5y agoWell anyway ultimately this is the concrete advantage of a GUI that was asked about - it can do better than janky whole-line scrolling.
- dTal 5y agoAnd why not? Video games are fully antialiased. Why shouldn't I demand at least the same care and attention to technical detail in my productive tools?
- WhyNotHugo 5y agoSubpixel scrolling would likely be invisible to the human eye. Apple has even dropped subpixel rendering entirely, since that was only really needed in lower resolution displays.