NEL version for 7 bits environments already was implemented in st.
This patch adds the 8 bit version of it.
---
 st.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/st.c b/st.c
index 4813524..85e1e0f 100644
--- a/st.c
+++ b/st.c
@@ -2412,7 +2412,9 @@ tcontrolcode(uchar ascii) {
        case 0177:   /* DEL (IGNORED) */
                return;
        case 0x84:   /* TODO: IND */
-       case 0x85:   /* TODO: NEL */
+       case 0x85:   /* NEL -- Next line */
+               tnewline(1); /* always go to first col */
+               break;
        case 0x88:   /* TODO: HTS */
        case 0x8d:   /* TODO: RI */
        case 0x8e:   /* TODO: SS2 */
-- 
1.8.5.3


Reply via email to