about summary refs log tree commit diff stats
path: root/src/LYStrings.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2003-06-02 01:32:28 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2003-06-02 01:32:28 -0400
commit6bbc5d0bfc53e1fbe69f916504c008e1b74b0b19 (patch)
treefeebae850ee453021e05860f09ee7f7f4eac7651 /src/LYStrings.c
parent03413d1c868839950b21fd0b10fa5f31fff83964 (diff)
downloadlynx-snapshots-6bbc5d0bfc53e1fbe69f916504c008e1b74b0b19.tar.gz
snapshot of project "lynx", label v2-8-5dev_16
Diffstat (limited to 'src/LYStrings.c')
-rw-r--r--src/LYStrings.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/LYStrings.c b/src/LYStrings.c
index e29f6495..a47d9356 100644
--- a/src/LYStrings.c
+++ b/src/LYStrings.c
@@ -388,6 +388,10 @@ PRIVATE int set_clicked_link ARGS4(
 	mouse_link = -2;
 	if (x == 0 && toolbar)		/* On '#' */
 	    c = LAC_TO_LKC0(LYK_TOOLBAR);
+#if defined(CAN_CUT_AND_PASTE) && defined(USE_COLOR_STYLE)
+	else if (y == 0 && x == LYcols - 1 && s_hot_paste != NOSTYLE)
+	    c = LAC_TO_LKC0(LYK_PASTE_URL);
+#endif
 	else if (clicks > 1) {
 	    if (x < left + toolbar)
 		c = (code==FOR_PROMPT && y)
@@ -5685,7 +5689,7 @@ PUBLIC int LYReadCmdKey ARGS1(
     } else {
 	ch = LYgetch_for(mode);
     }
-    CTRACE((tfp, "LYReadCmdKey(%d) ->%c (%#x)\n", mode, ch, ch));
+    CTRACE((tfp, "LYReadCmdKey(%d) ->%s (%#x)\n", mode, LYKeycodeToString(ch, TRUE), ch));
     LYWriteCmdKey(ch);
     return ch;
 }