summaryrefslogtreecommitdiff
path: root/src/widget.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.hh')
-rw-r--r--src/widget.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget.hh b/src/widget.hh
index c23e0422..fb50f161 100644
--- a/src/widget.hh
+++ b/src/widget.hh
@@ -383,7 +383,8 @@ public:
ClipboardFormat format) noexcept;
void clipboard_request_text(ClipboardType type) noexcept;
void clipboard_set_text(ClipboardType type,
- std::string_view const& str) noexcept;
+ char const* str,
+ size_t size) noexcept;
void paste_text(std::string_view const& text) { m_terminal->widget_paste(text); }
void paste(vte::platform::ClipboardType type) { clipboard_request_text(type); }