Sync OpenBSD patchset 905:

Add a new option, mouse-resize-pane. When on, panes may be resized by
dragging their borders. From hsim at gmx.li.
This commit is contained in:
Tiago Cunha
2011-05-18 20:30:14 +00:00
parent 4fcbf4b872
commit 4efd45628d
5 changed files with 85 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $Id: options-table.c,v 1.8 2011-05-18 20:28:40 tcunha Exp $ */
/* $Id: options-table.c,v 1.9 2011-05-18 20:30:14 tcunha Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net>
@ -192,6 +192,11 @@ const struct options_table_entry session_options_table[] = {
.default_num = 20
},
{ .name = "mouse-resize-pane",
.type = OPTIONS_TABLE_FLAG,
.default_num = 0
},
{ .name = "mouse-select-pane",
.type = OPTIONS_TABLE_FLAG,
.default_num = 0