st

simple terminal

git clone https://9o.is/git/st.git

commit 8a834594bd2ac01a5133588bef3ad5034f982196
parent b5adbb782485ab5b5fb68c62a0dbc3487b6822f0
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 10 Apr 2013 17:48:32 +0200

Make st work with a plain -e command.

Diffstat:
Mst.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/st.c b/st.c @@ -3332,7 +3332,8 @@ main(int argc, char *argv[]) { break; case 'e': /* eat all remaining arguments */ - opt_cmd = &argv[1]; + if(argc > 1) + opt_cmd = &argv[1]; goto run; case 'f': opt_font = EARGF(usage());