From be5053879ddbeb0bb29246c349951986b654c33c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 6 Jul 2018 07:11:24 +0000 Subject: Add a rectangle_toggle format, from Hirokazu Hata. --- usr.bin/tmux/window-copy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/tmux/window-copy.c') diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index 5dd90069f94..72f1c4e1dbe 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.190 2018/07/04 09:44:07 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.191 2018/07/06 07:11:23 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -2447,6 +2447,7 @@ window_copy_add_formats(struct window_pane *wp, struct format_tree *ft) format_add(ft, "selection_present", "%d", data->screen.sel.flag); format_add(ft, "scroll_position", "%d", data->oy); + format_add(ft, "rectangle_toggle", "%d", data->rectflag); } static void -- cgit v1.2.3