From 767bd4f1dbbb14d9d28acb22cf42a91e6305a69a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 6 Jan 2021 11:11:46 +0100 Subject: config: add ‘select-extend-character-wise’ bind action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This forces the (new) selection mode to be character-wise when extending a word- or line-wise selection. Default key binding is ctrl+RMB. --- selection.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'selection.h') diff --git a/selection.h b/selection.h index c4d393e3..aa027d3e 100644 --- a/selection.h +++ b/selection.h @@ -17,8 +17,9 @@ void selection_finalize( struct seat *seat, struct terminal *term, uint32_t serial); void selection_dirty_cells(struct terminal *term); void selection_cancel(struct terminal *term); -void selection_extend( struct seat *seat, struct terminal *term, - int col, int row, uint32_t serial); +void selection_extend( + struct seat *seat, struct terminal *term, + int col, int row, enum selection_kind kind); bool selection_on_rows(const struct terminal *term, int start, int end); -- cgit v1.3