mirror of
https://github.com/tmux/tmux.git
synced 2026-10-12 05:34:24 +00:00
Also set ntitles to 0 when creating screen in the first place.
This commit is contained in:
3
screen.c
3
screen.c
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: screen.c,v 1.106 2026/07/26 09:17:30 nicm Exp $ */
|
/* $OpenBSD: screen.c,v 1.107 2026/07/26 09:20:54 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -82,6 +82,7 @@ screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit)
|
|||||||
|
|
||||||
s->title = xstrdup("");
|
s->title = xstrdup("");
|
||||||
s->titles = NULL;
|
s->titles = NULL;
|
||||||
|
s->ntitles = 0;
|
||||||
s->path = NULL;
|
s->path = NULL;
|
||||||
|
|
||||||
s->cstyle = SCREEN_CURSOR_DEFAULT;
|
s->cstyle = SCREEN_CURSOR_DEFAULT;
|
||||||
|
|||||||
Reference in New Issue
Block a user