pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
172f654
)
The style inquisition was here.
author
Christoph Lohmann
<20h@r-36.net>
Sun, 25 Nov 2012 08:23:34 +0000
(09:23 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Sun, 25 Nov 2012 08:23:34 +0000
(09:23 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
671b386
..
900b567
100644
(file)
--- 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;
}