Message from JavaScript discussions

December 2018

— I was referring to making the scrolling functionality work via page up / page down


function logScroll(offset) {
const index = startIndex + offset;
if (index > textLines.length || index < 0) return;
startIndex = index;

— You can make it one-line, like in vim

— It shows that cursor position is at 45% of the buffer

— But, yeah, generally nobody needs scrollbars in terminals..

— I like that

— Was going to add some bar at the top for info like it

— Ha, clever bastard

— Experiments will lay here🤤 come and take them if you can

— Damn fine article 💯💯💯

— He made a tweet to collect examples.. lazy-tired style

— Http://

Message permanent page