st
simple terminal
git clone https://9o.is/git/st.git
commit 4ad6c32768955a6a6c7b4ea303b6b72ae61d2116 parent 7b33bff4001d412b266059fd1a82ad2af4415c43 Author: Christoph Lohmann <20h@r-36.net> Date: Sat, 13 Apr 2013 15:24:26 +0200 Fix the geometry handling. Diffstat:
| M | st.1 | | | 3 | +++ |
| M | st.c | | | 2 | ++ |
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/st.1 b/st.1 @@ -37,6 +37,9 @@ to use when st is run. .TP .BI \-g " geometry" defines the X11 geometry string, which will fixate the height and width of st. +The form is [=][<width>{xX}<height>][{+-}<xoffset>{+-}<yoffset>]. See +.BR XParseGeometry (3) +for further details. .TP .BI \-o " file" writes all the I/O to diff --git a/st.c b/st.c @@ -3417,6 +3417,8 @@ run: xinit(); ttynew(); selinit(); + if(xw.isfixed) + cresize(xw.h, xw.w); run(); return 0;