aboutsummaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index ed72356e..6df03b9e 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -469,6 +469,15 @@ void a_UIcmd_image_popup(void *vbw, const DilloUrl *url, DilloUrl *link_url)
}
/*
+ * Copy url string to paste buffer
+ */
+void a_UIcmd_copy_urlstr(BrowserWindow *bw, const char *urlstr)
+{
+ Layout *layout = (Layout*)bw->render_layout;
+ layout->copySelection(urlstr);
+}
+
+/*
* Show a text window with the URL's source
*/
void a_UIcmd_view_page_source(const DilloUrl *url)