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 9ebbe2cca7
commit 4860a58d07
3 changed files with 5 additions and 4 deletions

View File

@ -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

@ -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

6
tmux.1
View File

@ -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.