mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Merge branch 'obsd-master'
This commit is contained in:
4
format.c
4
format.c
@ -2174,6 +2174,8 @@ format_defaults_client(struct format_tree *ft, struct client *c)
|
||||
format_add(ft, "client_pid", "%ld", (long) c->pid);
|
||||
format_add(ft, "client_height", "%u", tty->sy);
|
||||
format_add(ft, "client_width", "%u", tty->sx);
|
||||
format_add(ft, "client_cell_width", "%u", tty->xpixel);
|
||||
format_add(ft, "client_cell_height", "%u", tty->ypixel);
|
||||
format_add(ft, "client_tty", "%s", c->ttyname);
|
||||
format_add(ft, "client_control_mode", "%d",
|
||||
!!(c->flags & CLIENT_CONTROL));
|
||||
@ -2225,6 +2227,8 @@ format_defaults_window(struct format_tree *ft, struct window *w)
|
||||
format_add(ft, "window_name", "%s", w->name);
|
||||
format_add(ft, "window_width", "%u", w->sx);
|
||||
format_add(ft, "window_height", "%u", w->sy);
|
||||
format_add(ft, "window_cell_width", "%u", w->xpixel);
|
||||
format_add(ft, "window_cell_height", "%u", w->ypixel);
|
||||
format_add_cb(ft, "window_layout", format_cb_window_layout);
|
||||
format_add_cb(ft, "window_visible_layout",
|
||||
format_cb_window_visible_layout);
|
||||
|
Reference in New Issue
Block a user