-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Library for Web-Based Terminal in JavaScript, (jQuery Terminal: git repo)
Copyright (c) 2011-2023 Jakub T. Jankiewicz