summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/screen.h1
-rw-r--r--src/socket.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h
index 2ca0698..01a9d97 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -117,6 +117,7 @@ struct Message {
union {
struct {
int lflag;
+ int Lflag;
bool aflag;
int flowflag;
int hheight; /* size of scrollback buffer */
diff --git a/src/socket.c b/src/socket.c
index 7d9fff5..0dc9450 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -462,6 +462,7 @@ void SendCreateMsg(char *sty, struct NewWindow *nwin)
m.m.create.aflag = nwin->aflag;
m.m.create.flowflag = nwin->flowflag;
m.m.create.lflag = nwin->lflag;
+ m.m.create.Lflag = nwin->Lflag;
m.m.create.hheight = nwin->histheight;
if (getcwd(m.m.create.dir, ARRAY_SIZE(m.m.create.dir)) == NULL) {
Msg(errno, "getcwd");
@@ -540,6 +541,7 @@ static void ExecCreate(Message *mp)
if (*mp->m.create.dir)
nwin.dir = mp->m.create.dir;
nwin.lflag = mp->m.create.lflag;
+ nwin.Lflag = mp->m.create.Lflag;
nwin.histheight = mp->m.create.hheight;
if (*mp->m.create.screenterm)
nwin.term = mp->m.create.screenterm;