From 167f414a2d480866d436b37bca31244cc73b926e Mon Sep 17 00:00:00 2001 From: familyfriendlymikey Date: Sun, 28 Aug 2022 00:15:22 -0400 Subject: [PATCH] use different color for tip url --- app/client.imba | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/app/client.imba b/app/client.imba index 9b92890..9399676 100644 --- a/app/client.imba +++ b/app/client.imba @@ -556,7 +556,20 @@ tag app > <.tip-hotkey> "Shift + Return" <.tip-content[of:hidden text-overflow:ellipsis white-space:nowrap]> - "Add New Link \"{state.query.trim!}\"" + "Add New Link" + " " + let sq = state.query.trim!.split /\s+/ + if sq.length >= 2 + let url = sq.pop! + '"' + sq.join ' ' + ' ' + url + '"' + else + '"' + sq.join ' ' + '"' <.tip[jc:end ta:right fl:1] @click=handle_shift_backspace >