aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-06 10:11:46 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-14 15:29:29 +0000
commit767bd4f1dbbb14d9d28acb22cf42a91e6305a69a (patch)
tree6c79ade4d1100b0d6d14eaff0c89145320f3996a /selection.h
parentMerge branch 'sixel-current-geometry-response' (diff)
config: add ‘select-extend-character-wise’ bind action
This forces the (new) selection mode to be character-wise when extending a word- or line-wise selection. Default key binding is ctrl+RMB.
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h5
1 files changed, 3 insertions, 2 deletions
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);