summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-18 15:34:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-18 16:10:31 +0300
commit0e21b478636fac986a5e2276662da6a6e1692f9e (patch)
tree8c442eb9ea5118ba9fbab14831aa12dbe42a58ab /src/commands.cpp
parente714f084284e14ff8a338d68c15088ab7662a42f (diff)
downloadmv-0e21b478636fac986a5e2276662da6a6e1692f9e.tar.gz
mv-0e21b478636fac986a5e2276662da6a6e1692f9e.tar.bz2
mv-0e21b478636fac986a5e2276662da6a6e1692f9e.tar.xz
mv-0e21b478636fac986a5e2276662da6a6e1692f9e.zip
Add support for help seach links.
To add link to search text: /url ?text Also add support for links in format: help://topic
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 73a9f40ce..b085cbd7c 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1038,7 +1038,7 @@ impHandler(url)
if (tab)
{
std::string url = args;
- if (!strStartWith(url, "http"))
+ if (!strStartWith(url, "http") && !strStartWith(url, "?"))
url = "http://" + url;
std::string str = strprintf("[@@%s |%s@@]", url.c_str(), args.c_str());
outStringNormal(tab, str, str);