diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-11 07:51:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-11 15:38:01 +0000 |
| commit | bcf763d41776705ad62972e766d73fd9533bbb9e (patch) | |
| tree | 55e146eed65d0666a9fb1b3d47da49ed4c61df3a /selection.h | |
| parent | selection: only left button can be used for selection (diff) | |
selection: add a selection API
Diffstat (limited to 'selection.h')
| -rw-r--r-- | selection.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/selection.h b/selection.h new file mode 100644 index 00000000..96b8b489 --- /dev/null +++ b/selection.h @@ -0,0 +1,8 @@ +#pragma once + +#include "terminal.h" + +void selection_start(struct terminal *term, int col, int row); +void selection_update(struct terminal *term, int col, int row); +void selection_finalizie(struct terminal *term); +void selection_cancel(struct terminal *term); |
