st

Simple Terminal
git clone git://r-36.net/st
Log | Files | Refs | README | LICENSE

commit 373a8f56286d72ae10c9d3a2a7326e2515d141d9
parent 172f65436ce14a52842d67b862fdc45f8ff3ada3
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 25 Nov 2012 09:23:34 +0100

The style inquisition was here.

Diffstat:
st.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/st.c b/st.c @@ -1102,6 +1102,7 @@ tnew(int col, int row) { term.alt [row] = xmalloc(term.col * sizeof(Glyph)); term.dirty[row] = 0; } + term.numlock = 1; memset(term.tabs, 0, term.col * sizeof(*term.tabs)); /* setup screen */ @@ -2704,8 +2705,7 @@ match(uint mask, uint state) { } void -numlock(const Arg *dummy) -{ +numlock(const Arg *dummy) { term.numlock ^= 1; }