aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vcons
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vcons')
-rw-r--r--sys/dev/vcons/vcons_io.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/vcons/vcons_io.c b/sys/dev/vcons/vcons_io.c
index a3d6042..4c0151a 100644
--- a/sys/dev/vcons/vcons_io.c
+++ b/sys/dev/vcons/vcons_io.c
@@ -52,17 +52,15 @@ vcons_expand_tab(struct vcons_screen *scr)
int
vcons_process_output(struct vcons_screen *scr, int c)
{
- struct termios termios = scr->termios;
struct vcons_cursor *cursor = &scr->cursor;
switch (c) {
case ASCII_LF:
- if (__TEST(termios.c_oflag, OCRNL)) {
- scr->cpy_x = 0;
- cursor->xpos = 0;
- }
scr->cpy_y++;
cursor->ypos += FONT_HEIGHT;
+
+ scr->cpy_x = 0;
+ cursor->xpos = 0;
break;
case ASCII_CR:
scr->cpy_x = 0;