summaryrefslogtreecommitdiff
path: root/src/command.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-08-14 08:50:13 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-08-14 09:03:50 +0200
commitb2ae1f73626bdd260b88c0cb60ba24a4e5c0fd55 (patch)
treef96c13c029e31ae6565d47eae95c43683398b355 /src/command.c
parent195bee097fc01370a6f3702e07dbb0aa95dc3371 (diff)
Allow to clear the inputbox on <esc> also if it's focused.
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 0b6162e..cc70721 100644
--- a/src/command.c
+++ b/src/command.c
@@ -536,6 +536,8 @@ gboolean command_yank(const Arg *arg)
text = gtk_clipboard_wait_for_text(SECONDARY_CLIPBOARD());
}
if (text) {
+ /* TODO should we show the full ynaked content with
+ * vb_set_input_text, wich migh get very large? */
vb_echo_force(VB_MSG_NORMAL, false, "Yanked: %s", text);
g_free(text);
@@ -544,7 +546,7 @@ gboolean command_yank(const Arg *arg)
return false;
}
- /* use current arg.s a new clipboard content */
+ /* use current arg.s as new clipboard content */
Arg a = {arg->i};
if (arg->i & COMMAND_YANK_URI) {
/* yank current url */