mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Always format real layout even when zoomed.
This commit is contained in:
@ -55,12 +55,12 @@ layout_checksum(const char *layout)
|
||||
|
||||
/* Dump layout as a string. */
|
||||
char *
|
||||
layout_dump(struct window *w)
|
||||
layout_dump(struct layout_cell *root)
|
||||
{
|
||||
char layout[BUFSIZ], *out;
|
||||
|
||||
*layout = '\0';
|
||||
if (layout_append(w->layout_root, layout, sizeof layout) != 0)
|
||||
if (layout_append(root, layout, sizeof layout) != 0)
|
||||
return (NULL);
|
||||
|
||||
xasprintf(&out, "%04x,%s", layout_checksum(layout), layout);
|
||||
|
Reference in New Issue
Block a user