From: Sadrul Habib Chowdhury Date: Mon, 26 Jan 2009 21:19:47 +0000 (-0500) Subject: Don't forget the startup command. X-Git-Url: https://repo.or.cz/w/screen-lua.git/commitdiff_plain/25c4f34d19c9f7d7262ef2a173238fdab7e283be Don't forget the startup command. Fixes savannah bug #25348, launchpad bug #311443. --- diff --git a/src/screen.c b/src/screen.c index c914c59..7239560 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1420,6 +1420,10 @@ char **av; /* NOTREACHED */ } } + else if (ac) /* Screen was invoked with a command */ + { + MakeWindow(&nwin); + } #ifdef HAVE_BRAILLE StartBraille();