diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-22 19:26:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-22 19:26:20 +0000 |
commit | 7b4556946db5f70b47e91484aac08f05ff32029c (patch) | |
tree | 8657945bf282dd55fc2f9626e990aabd113ca1e7 /window-copy.c | |
parent | 7ab0b466fe38835cc92f28fed490d7f6ca1a3b5c (diff) |
Make C-space toggle. Fix sel on same line.
Diffstat (limited to 'window-copy.c')
-rw-r--r-- | window-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-copy.c b/window-copy.c index 983bbac2..98bf7223 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1,4 +1,4 @@ -/* $Id: window-copy.c,v 1.2 2007-11-22 19:17:01 nicm Exp $ */ +/* $Id: window-copy.c,v 1.3 2007-11-22 19:26:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -184,7 +184,7 @@ window_copy_key(struct window *w, int key) data->oy -= sy; break; case '\000': /* C-space */ - data->sel.flag = 1; + data->sel.flag = !data->sel.flag; data->sel.sx = data->cx + data->ox; data->sel.sy = data->size + data->cy - data->oy; oy = -1; /* XXX */ |