From 7d6896ae792a26afb9204a3dc0d52c6c1a72cd59 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 23 Apr 2009 21:28:45 +0000 Subject: Support NEL. --- input.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index 3e18ce86..087a148d 100644 --- a/input.c +++ b/input.c @@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.76 2009-03-28 20:17:29 nicm Exp $ */ +/* $Id: input.c,v 1.77 2009-04-23 21:28:45 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -630,6 +630,10 @@ input_handle_c1_control(u_char ch, struct input_ctx *ictx) log_debug2("-- c1 %zu: %hhu (%c)", ictx->off, ch, ch); switch (ch) { + case 'E': /* NEL */ + screen_write_carriagereturn(&ictx->ctx); + screen_write_linefeed(&ictx->ctx); + break; case 'M': /* RI */ screen_write_reverseindex(&ictx->ctx); break; -- cgit