all repos — st @ 21a0c4a2e08ede1d04c472497db7d9aef644d00c

st (suckless terminal) config

Merging xft and current st heads.
Christoph Lohmann 20h@r-36.net
commit

21a0c4a2e08ede1d04c472497db7d9aef644d00c

parent

2b3c1219c863d9faa30ae58e5bf56d58ada0247d

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M st.cst.c

@@ -201,7 +201,7 @@ XIC xic;

XftDraw *xft_draw; Visual *vis; int scr; - Bool isfixed; /* is fixed geometry? */ + bool isfixed; /* is fixed geometry? */ int fx, fy, fw, fh; /* fixed geometry */ int tw, th; /* tty width and height */ int w; /* window width */

@@ -940,7 +940,7 @@ }

void treset(void) { - unsigned i; + uint i; term.c = (TCursor){{ .mode = ATTR_NULL, .fg = DefaultFG,

@@ -1603,7 +1603,7 @@ }

void tputtab(bool forward) { - unsigned x = term.c.x; + uint x = term.c.x; if(forward) { if(x == term.col)

@@ -2381,7 +2381,7 @@

int main(int argc, char *argv[]) { int i, bitm, xr, yr; - unsigned int wr, hr; + uint wr, hr; xw.fw = xw.fh = xw.fx = xw.fy = 0; xw.isfixed = False;