Skip to content

Scrolling

Jakub T. Jankiewicz edited this page Nov 3, 2023 · 3 revisions

The scrolling is controlled by the JavaScript. This is needed when you want to have extensions like Less command. But you can turn the control of scroll if you want:

$('body').terminal($.noop, {
    touchscroll() {
        return true;
    },
    mousewheel() {
        return true;
    }
});

See this CodePen demo

Clone this wiki locally