Scroll region is inclusive

webgl-renderer
cpsdqs 7 years ago
parent 3490e220b5
commit a83e4549e8
Signed by untrusted user: cpsdqs
GPG Key ID: 3F59586BB7448DD1
  1. 4
      js/term/debug.js

@ -251,8 +251,8 @@ module.exports = function attachDebugger (screen, connection) {
ctx.stroke() ctx.stroke()
ctx.beginPath() ctx.beginPath()
ctx.moveTo(0, end * cellSize.height) ctx.moveTo(0, (end + 1) * cellSize.height)
ctx.lineTo(width * cellSize.width, end * cellSize.height) ctx.lineTo(width * cellSize.width, (end + 1) * cellSize.height)
ctx.stroke() ctx.stroke()
ctx.restore() ctx.restore()

Loading…
Cancel
Save