From 4295134455ea99ad14a0eb43ed31e03fbeebb623 Mon Sep 17 00:00:00 2001 From: Juhani Krekelä Date: Sat, 24 Jul 2021 19:15:10 +0300 Subject: Unify context menus for URLs and OSC 8 hyperlinks Currently weltschmerz has separate context menus for the two types of URIs one can interact with, even though they contain the same option with only a little different phrasing. This makes both use the same context menu, and standardizes terminology to "URI". This unification is in preparation for an upcoming "Open with …" feature which will programmatically add items to context menu for URIs. Without this, we would need to duplicate logic for each of the separate menus. --- terminal.ui | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) (limited to 'terminal.ui') diff --git a/terminal.ui b/terminal.ui index 68a36b7..57e4ad9 100644 --- a/terminal.ui +++ b/terminal.ui @@ -3,44 +3,22 @@ - + True False edit-copy - + True False - - _Copy hyperlink + + _Copy URI True False - Copy the hyperlink's URI to the clipboard + Copy the URI to the clipboard True - copy_hyperlink_image - False - True - - - - - - True - False - edit-copy - - - True - False - - - _Copy URL - True - False - Copy the URL to the clipboard - True - copy_url_image + copy_uri_image False True -- cgit v1.2.3-2-gb3c3