aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/mud/terminal/VDUBuffer.java
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2008-10-30 08:47:12 +0000
committerKenny Root <kenny@the-b.org>2008-10-30 08:47:12 +0000
commit0f6113e9f5b045e478b8652f31321bd4c2d3b0dd (patch)
treea1d936cf384cd75ba17a551b40c71fc299975f1e /src/de/mud/terminal/VDUBuffer.java
parent5675dce5ea2960963a84ff771a30f0bedbca2853 (diff)
downloadconnectbot-0f6113e9f5b045e478b8652f31321bd4c2d3b0dd.tar.gz
connectbot-0f6113e9f5b045e478b8652f31321bd4c2d3b0dd.tar.bz2
connectbot-0f6113e9f5b045e478b8652f31321bd4c2d3b0dd.zip
* Fix delete line bug in emulation that was messing up irssi clock updates.
* Remove some debugging statements that snuck into the code.
Diffstat (limited to 'src/de/mud/terminal/VDUBuffer.java')
-rw-r--r--src/de/mud/terminal/VDUBuffer.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/de/mud/terminal/VDUBuffer.java b/src/de/mud/terminal/VDUBuffer.java
index 90d5452..cb77ad6 100644
--- a/src/de/mud/terminal/VDUBuffer.java
+++ b/src/de/mud/terminal/VDUBuffer.java
@@ -26,7 +26,6 @@
package de.mud.terminal;
import java.util.Arrays;
-import android.util.Log;
/**
* Implementation of a Video Display Unit (VDU) buffer. This class contains
@@ -339,7 +338,7 @@ public class VDUBuffer {
(topMargin > 0 ?
topMargin - 1 : 0) : bottomMargin));
- System.out.println("l is "+l+", top is "+top+", bottom is "+bottom+", bottomargin is "+bottomMargin+", topMargin is "+topMargin);
+ // System.out.println("l is "+l+", top is "+top+", bottom is "+bottom+", bottomargin is "+bottomMargin+", topMargin is "+topMargin);
if (scrollDown) {
if (n > (bottom - top)) n = (bottom - top);
@@ -644,7 +643,6 @@ public class VDUBuffer {
* @param l line that is the margin
*/
public void setTopMargin(int l) {
- //System.out.println("trying setTopMargin " + l);
if (l > bottomMargin) {
topMargin = bottomMargin;
bottomMargin = l;
@@ -652,7 +650,6 @@ public class VDUBuffer {
topMargin = l;
if (topMargin < 0) topMargin = 0;
if (bottomMargin > height - 1) bottomMargin = height - 1;
- //System.out.println("final setTopMargin " + topMargin);
}
/**
@@ -669,7 +666,6 @@ public class VDUBuffer {
* @param l line that is the margin
*/
public void setBottomMargin(int l) {
- //System.out.println("trying setBottomMargin " + l);
if (l < topMargin) {
bottomMargin = topMargin;
topMargin = l;
@@ -677,7 +673,6 @@ public class VDUBuffer {
bottomMargin = l;
if (topMargin < 0) topMargin = 0;
if (bottomMargin > height - 1) bottomMargin = height - 1;
- //System.out.println("final setBottomMargin " + bottomMargin);
}
/**
@@ -787,7 +782,6 @@ public class VDUBuffer {
bottomMargin = h - 1;
update = new boolean[h + 1];
update[0] = true;
-
/* FIXME: ???
if(resizeStrategy == RESIZE_FONT)
setBounds(getBounds());