mirror of
https://github.com/tmux/tmux.git
synced 2026-07-29 19:57:54 +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>
|
||||
@@ -82,6 +82,7 @@ screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit)
|
||||
|
||||
s->title = xstrdup("");
|
||||
s->titles = NULL;
|
||||
s->ntitles = 0;
|
||||
s->path = NULL;
|
||||
|
||||
s->cstyle = SCREEN_CURSOR_DEFAULT;
|
||||
|
||||
Reference in New Issue
Block a user