luke.b//blog

< back to logs after before

I FIXED IT. SCROLLING WORKS IN VIM, LESS, HTOP AND PROBABLY OTHER THINGS!!!

For some reason, all the developers at some point in history were like “well, ESC [ A is nice, and the standard says we should use it to mean “move the cursor up” but what about ESC O A, it’s different and we can call it “Application Keys”, yeah that sounds cool."

Apparently it’s something to do with keypads. Maybe one day I’ll dive deep into how this car crash happened, but for now I’m satisfied to know that it’s all documented here and length and in great detail.

Anyway, this small but significant detail (it’s always one character isn’t it) was causing some programs to fail to be scrolled because I was sending the non-“Application Key” of the arrow keys.

Wait. Now git log scrolling is broken noooooo.