diff --git a/js/term/debug.js b/js/term/debug.js index 3ae76a5..21a9960 100644 --- a/js/term/debug.js +++ b/js/term/debug.js @@ -251,8 +251,8 @@ module.exports = function attachDebugger (screen, connection) { ctx.stroke() ctx.beginPath() - ctx.moveTo(0, end * cellSize.height) - ctx.lineTo(width * cellSize.width, end * cellSize.height) + ctx.moveTo(0, (end + 1) * cellSize.height) + ctx.lineTo(width * cellSize.width, (end + 1) * cellSize.height) ctx.stroke() ctx.restore()