aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/mud/terminal/vt320.java
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2008-10-30 09:25:35 +0000
committerKenny Root <kenny@the-b.org>2008-10-30 09:25:35 +0000
commitd4a65aaf7ec52e8bf32917237260a0727e51fe58 (patch)
treee7da21228d4ce4c8ddd17bd072938328abcef128 /src/de/mud/terminal/vt320.java
parent0f6113e9f5b045e478b8652f31321bd4c2d3b0dd (diff)
downloadconnectbot-d4a65aaf7ec52e8bf32917237260a0727e51fe58.tar.gz
connectbot-d4a65aaf7ec52e8bf32917237260a0727e51fe58.tar.bz2
connectbot-d4a65aaf7ec52e8bf32917237260a0727e51fe58.zip
* Fix bug introduced that makes lines scroll too much. I think the last two revisions fix the real bug that this was covering up.
Diffstat (limited to 'src/de/mud/terminal/vt320.java')
-rw-r--r--src/de/mud/terminal/vt320.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/mud/terminal/vt320.java b/src/de/mud/terminal/vt320.java
index 03fc853..ba636ae 100644
--- a/src/de/mud/terminal/vt320.java
+++ b/src/de/mud/terminal/vt320.java
@@ -2341,7 +2341,7 @@ public abstract class vt320 extends VDUBuffer implements VDUInput {
int limit;
/* FIXME: xterm only cares about 0 and topmargin */
if (R > bm)
- limit = bm; // BUGFIX: corrects scrollback dissapearing in irssi (?)
+ limit = bm - 1;
else if (R >= tm) {
limit = tm;
} else