POM cleanup

This commit is contained in:
Seth Morabito committed 2018-02-04 11:49:26 -08:00
1 parent 71905fdb19
commit 73c474d606
2 files changed
+6 -25

No files matched your search

@@ -51,7 +51,7 @@ public class Console extends JTerminal implements KeyListener, MouseListener {
private static final boolean SWAP_CR_AND_LF = true;
// If true, send CRLF (0x0d 0x0a) whenever CR is typed
private boolean sendCrForLf = false;
private boolean sendCrForLf;
private FifoRingBuffer<Character> typeAheadBuffer;
public Console(int columns, int rows, Font font, boolean sendCrForLf) {
@@ -107,7 +107,7 @@ public class Console extends JTerminal implements KeyListener, MouseListener {
}
}
if (sendCrForLf && keyTyped == 0x0d) {
if (sendCrForLf && (keyTyped == 0x0d)) {
typeAheadBuffer.push((char) 0x0d);
typeAheadBuffer.push((char) 0x0a);
} else {