Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'

* refs/remotes/tmux-openbsd/master:
  Memory leak fixes from someone in GitHub issues 5739, 5744, 5745, 5746.
  Add -f to switch-mode to read choices from a file, GitHub issue 5738.
  Set session for {current} target, GitHub issue 5742.
  Do not discard control state before a control client creates it, GitHub issue 5740 from Andre Popp.
  A few additional readonly checks, GitHub issue 5736 from gmkbenjamin at hotmail dot com.
This commit is contained in:
tmux update bot
2026-10-15 10:20:59 +00:00
14 changed files with 228 additions and 32 deletions

3
tmux.h
View File

@@ -1,4 +1,4 @@
/* $OpenBSD: tmux.h,v 1.1463 2026/10/14 12:48:50 nicm Exp $ */
/* $OpenBSD: tmux.h,v 1.1464 2026/10/15 08:07:17 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -3989,6 +3989,7 @@ extern const struct window_mode window_tree_mode;
/* window-switch.c */
extern const struct window_mode window_switch_mode;
void window_switch_set_input(struct window_mode_entry *, struct evbuffer *);
/* window-clock.c */
extern const struct window_mode window_clock_mode;