mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
da72a0b7a8
@ -184,10 +184,7 @@ grid_view_insert_cells(struct grid *gd, u_int px, u_int py, u_int nx)
|
||||
px = grid_view_x(gd, px);
|
||||
py = grid_view_y(gd, py);
|
||||
|
||||
if (gd->linedata[py].cellsize + nx < gd->sx)
|
||||
sx = grid_view_x(gd, gd->linedata[py].cellsize + nx);
|
||||
else
|
||||
sx = grid_view_x(gd, gd->sx);
|
||||
sx = grid_view_x(gd, gd->sx);
|
||||
|
||||
if (px == sx - 1)
|
||||
grid_clear(gd, px, py, 1, 1);
|
||||
@ -204,9 +201,7 @@ grid_view_delete_cells(struct grid *gd, u_int px, u_int py, u_int nx)
|
||||
px = grid_view_x(gd, px);
|
||||
py = grid_view_y(gd, py);
|
||||
|
||||
sx = grid_view_x(gd, gd->linedata[py].cellsize);
|
||||
if (sx < px + nx)
|
||||
sx = px + nx;
|
||||
sx = grid_view_x(gd, gd->sx);
|
||||
|
||||
grid_move_cells(gd, px, px + nx, py, sx - px - nx);
|
||||
grid_clear(gd, sx - nx, py, px + nx - (sx - nx), 1);
|
||||
|
@ -270,6 +270,7 @@ server_kill_window(struct window *w)
|
||||
|
||||
if (session_has(s, w) == NULL)
|
||||
continue;
|
||||
server_unzoom_window(w);
|
||||
while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) {
|
||||
if (session_detach(s, wl)) {
|
||||
server_destroy_session_group(s);
|
||||
|
12
tmux.1
12
tmux.1
@ -251,6 +251,10 @@ Split the current pane into two, left and right.
|
||||
Kill the current window.
|
||||
.It '
|
||||
Prompt for a window index to select.
|
||||
.It \&(
|
||||
Switch the attached client to the previous session.
|
||||
.It \&)
|
||||
Switch the attached client to the next session.
|
||||
.It ,
|
||||
Rename the current window.
|
||||
.It -
|
||||
@ -271,6 +275,8 @@ Choose which buffer to paste interactively from a list.
|
||||
List all key bindings.
|
||||
.It D
|
||||
Choose a client to detach.
|
||||
.It L
|
||||
Switch the attached client back to the last session.
|
||||
.It \&[
|
||||
Enter copy mode to copy text or view the history.
|
||||
.It \&]
|
||||
@ -297,14 +303,14 @@ Briefly display pane indexes.
|
||||
Force redraw of the attached client.
|
||||
.It s
|
||||
Select a new session for the attached client interactively.
|
||||
.It L
|
||||
Switch the attached client back to the last session.
|
||||
.It t
|
||||
Show the time.
|
||||
.It w
|
||||
Choose the current window interactively.
|
||||
.It x
|
||||
Kill the current pane.
|
||||
.It z
|
||||
Toggle zoom state of the current pane.
|
||||
.It {
|
||||
Swap the current pane with the previous pane.
|
||||
.It }
|
||||
@ -322,6 +328,8 @@ pane.
|
||||
.It M-1 to M-5
|
||||
Arrange panes in one of the five preset layouts: even-horizontal,
|
||||
even-vertical, main-horizontal, main-vertical, or tiled.
|
||||
.It Space
|
||||
Arrange the current window in the next preset layout.
|
||||
.It M-n
|
||||
Move to the next window with a bell or activity marker.
|
||||
.It M-o
|
||||
|
Loading…
Reference in New Issue
Block a user