From f19698dc23eb38a14848628a73d7823021b65d25 Mon Sep 17 00:00:00 2001 From: mcmlxxix <> Date: Fri, 16 Apr 2010 18:54:53 +0000 Subject: [PATCH] make home/end reset index to proper value --- exec/load/graphic.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec/load/graphic.js b/exec/load/graphic.js index 645810fe86..0ab44d3677 100644 --- a/exec/load/graphic.js +++ b/exec/load/graphic.js @@ -245,6 +245,7 @@ function Graphic_end() this.data[x].push(this.future[x].shift()); } } + this.index=this.length; } function Graphic_pgup() { @@ -276,6 +277,7 @@ function Graphic_home() this.data[x].unshift(this.past[x].pop()); } } + this.index=1; } function Graphic_scroll(dir,loop) { -- GitLab