st
simple terminal
git clone https://9o.is/git/st.git
commit 678240a4f657acc531a1ba97385a1e557d2a4abb parent 66c187a57f6eb0d5e113c346c2fbd4587783f3e8 Author: Christoph Lohmann <20h@r-36.net> Date: Sat, 7 Jun 2014 13:49:04 +0200 Style police. Diffstat:
| M | st.c | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/st.c b/st.c @@ -2319,10 +2319,11 @@ tdeftran(char ascii) { static int vcs[] = {CS_GRAPHIC0, CS_USA}; char *p; - if((p = strchr(cs, ascii)) == NULL) + if((p = strchr(cs, ascii)) == NULL) { fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii); - else + } else { term.trantbl[term.icharset] = vcs[p - cs]; + } } void