mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
selection: initial copy-to-clipboard functionality
This commit is contained in:
parent
1f808781f4
commit
b50ec1a850
5 changed files with 289 additions and 0 deletions
|
|
@ -1,8 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <wayland-client.h>
|
||||
|
||||
#include "terminal.h"
|
||||
|
||||
extern const struct wl_data_device_listener data_device_listener;
|
||||
|
||||
void selection_start(struct terminal *term, int col, int row);
|
||||
void selection_update(struct terminal *term, int col, int row);
|
||||
void selection_finalize(struct terminal *term);
|
||||
void selection_cancel(struct terminal *term);
|
||||
void selection_to_clipboard(struct terminal *term, uint32_t serial);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue