mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Correct if condition
This commit is contained in:
+2
-2
@@ -2858,8 +2858,8 @@
|
||||
// scroll up
|
||||
this.ybase--;
|
||||
addToY++
|
||||
if (this.ydisp === 0) {
|
||||
// Viewport is at the top of the buffer, much increase downwards
|
||||
if (this.ydisp > 0) {
|
||||
// Viewport is at the top of the buffer, must increase downwards
|
||||
this.ydisp--;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user