mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Display the layout name in window lists.
This commit is contained in:
8
layout.c
8
layout.c
@ -1,4 +1,4 @@
|
||||
/* $Id: layout.c,v 1.3 2009-04-01 21:10:08 nicm Exp $ */
|
||||
/* $Id: layout.c,v 1.4 2009-04-30 16:27:29 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -42,6 +42,12 @@ const struct {
|
||||
{ "left-vertical", layout_left_vertical },
|
||||
};
|
||||
|
||||
const char *
|
||||
layout_name(struct window *w)
|
||||
{
|
||||
return (layouts[w->layout].name);
|
||||
}
|
||||
|
||||
void
|
||||
layout_next(struct window *w)
|
||||
{
|
||||
|
Reference in New Issue
Block a user