[hackers] [st] \v and \f are have the same behaviour of \n. || Aurélien Aptel

From: <hg_AT_suckless.org>
Date: Sat, 16 Oct 2010 18:53:31 +0000 (UTC)

changeset: 157:d9633c1da765
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Sat Oct 16 20:54:19 2010 +0200
files: st.c
description:
\v and \f are have the same behaviour of \n.

diff -r 5702ccf201c4 -r d9633c1da765 st.c
--- a/st.c Sat Oct 16 20:50:29 2010 +0200
+++ b/st.c Sat Oct 16 20:54:19 2010 +0200
@@ -1168,6 +1168,8 @@
                 case '\r':
                         tmoveto(0, term.c.y);
                         break;
+ case '\f':
+ case '\v':
                 case '\n':
                         /* go to first col if the mode is set */
                         tnewline(IS_SET(MODE_CRLF));
Received on Sat Oct 16 2010 - 20:53:31 CEST

This archive was generated by hypermail 2.2.0 : Sat Oct 16 2010 - 21:00:08 CEST