Try pairing tmux with mosh, it's how I've been working for years whenever I'm forced to admin through a brittle straw. Mosh combats lag pretty well and doesn't care if your connection drops intermittently. https://mosh.org/
I tried Mosh but it didn't fit my taste. It tries to "predict" the state of the screen before being acknowledged by the server, but sometimes the prediction is wrong and Mosh reverts the cursor movement and redraws the affected area of the terminal. For example, when I'm using split windows in Vim or tmux, Mosh allows typed characters to overflow beyond the separator, briefly, until being told "no" by the server. Personally I find this behavior very disturbing. Enduring higher lags was more bearable to me.
I can see how that's off-putting, but I've learned to ignore the occasional cosmetic hiccup and just trust that it will sync up correctly. I use it with --predict=experimental (largely undocumented), which seems to be even more aggressive, but it works great for me.
This is the reason I stopped contributing eventually. Can't download the db, API limits so low you can exhaust them with a couple exploratory queries, and a small group of people getting overly defensive when asked about it. I don't mind working for free, but this sucked the fun out of it.
I've heard variants of this story so many times, but it leaves me confused over my own experience. This sort of high frequency breakage just does not happen for me, I can't even say rarely. Definitely not on youtube. So what is going on there?
It happened to me when I enabled some of the optional annoyances filter lists in uBlock Origin. Things like sign-up pages not working, full-page cookie modals you can't quit etc.
This fork integrates sponsorblock, been using it for a while and even though the maintainer calls the integration "rather basic" it works quite well.
https://github.com/polymorphicshade/NewPipe