1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00

Clear overlay when command prompt is entered. Also fix some spacing in

man page pointed out by jmc.
This commit is contained in:
nicm 2024-08-22 09:05:51 +00:00
parent 3fe6b20f1f
commit 3979f694a5
3 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: key-string.c,v 1.73 2024/08/22 05:39:55 nicm Exp $ */ /* $OpenBSD: key-string.c,v 1.74 2024/08/22 09:05:51 nicm Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@ -277,7 +277,6 @@ key_string_lookup_string(const char *string)
} }
free(udp); free(udp);
return (uc); return (uc);
} }
/* Check for short Ctrl key. */ /* Check for short Ctrl key. */

View File

@ -1,4 +1,4 @@
/* $OpenBSD: status.c,v 1.244 2024/08/21 05:03:13 nicm Exp $ */ /* $OpenBSD: status.c,v 1.245 2024/08/22 09:05:51 nicm Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@ -607,6 +607,8 @@ status_prompt_set(struct client *c, struct cmd_find_state *fs,
struct format_tree *ft; struct format_tree *ft;
char *tmp; char *tmp;
server_client_clear_overlay(c);
if (fs != NULL) if (fs != NULL)
ft = format_create_from_state(NULL, c, fs); ft = format_create_from_state(NULL, c, fs);
else else

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: tmux.1,v 1.950 2024/08/21 05:06:45 nicm Exp $ .\" $OpenBSD: tmux.1,v 1.951 2024/08/22 09:05:51 nicm Exp $
.\" .\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> .\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\" .\"
@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: August 21 2024 $ .Dd $Mdocdate: August 22 2024 $
.Dt TMUX 1 .Dt TMUX 1
.Os .Os
.Sh NAME .Sh NAME
@ -4491,9 +4491,9 @@ Set the character used to fill areas of the terminal unused by a window.
.It Ic main-pane-height Ar height .It Ic main-pane-height Ar height
.It Ic main-pane-width Ar width .It Ic main-pane-width Ar width
Set the width or height of the main (left or top) pane in the Set the width or height of the main (left or top) pane in the
.Ic main-horizontal, .Ic main-horizontal ,
.Ic main-horizontal-mirrored, .Ic main-horizontal-mirrored ,
.Ic main-vertical, .Ic main-vertical ,
or or
.Ic main-vertical-mirrored .Ic main-vertical-mirrored
layouts. layouts.