]> Joshua Wise's Git repositories - vterm.git/blobdiff - VTerm.v
Newlines now go back to x=0. Oh well.
[vterm.git] / VTerm.v
diff --git a/VTerm.v b/VTerm.v
index 608624d4ce9964230bee39f24fe66224d96e88ea..8ccc78def7b8669513095574295200dd067c8f64 100644 (file)
--- a/VTerm.v
+++ b/VTerm.v
@@ -298,6 +298,7 @@ module RXState(
                STATE_IDLE:     if (serwr) begin
                                        if (serdata == 8'h0A) begin
                                                state <= STATE_NEWLINE;
+                                               x <= 0;
                                                vwr <= 0;
                                        end else if (serdata == 8'h0D) begin
                                                x <= 0;
This page took 0.037273 seconds and 4 git commands to generate.