aboutsummaryrefslogtreecommitdiff
path: root/src/IO/about.c
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-04-26 23:27:07 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-04-27 00:03:00 +0200
commitdd1ce83521403d81ebfe46f7815a10220e4f3a96 (patch)
tree51499260024d34c616f956a99a9c1aadf8a821d3 /src/IO/about.c
parentdb361d8fdf487066eb9b1f480ff386c619eaac09 (diff)
Add about:keys to show keyboard shortcuts
Fixes: https://github.com/dillo-browser/dillo/issues/66
Diffstat (limited to 'src/IO/about.c')
-rw-r--r--src/IO/about.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/IO/about.c b/src/IO/about.c
index 83cb2b4d..360441bc 100644
--- a/src/IO/about.c
+++ b/src/IO/about.c
@@ -2,7 +2,7 @@
* File: about.c
*
* Copyright (C) 1999-2007 Jorge Arellano Cid <jcid@dillo.org>
- * Copyright (C) 2024 Rodrigo Arias Mallo <rodarima@gmail.com>
+ * Copyright (C) 2024-2025 Rodrigo Arias Mallo <rodarima@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -32,6 +32,11 @@ const char *const AboutSplash=
" p { margin-top: 1em; }\n"
" ul { margin-left: 1em; }\n"
" li { margin-top: 0.5em; }\n"
+" kbd {\n"
+" display: inline-block;\n"
+" border: solid 1px #999;\n"
+" padding: 1px 3px;\n"
+" }\n"
" </style>\n"
"</head>\n"
"<body>\n"
@@ -40,12 +45,12 @@ const char *const AboutSplash=
"<h1>Quickstart</h1>\n"
"\n"
"<p>Welcome to Dillo " VERSION ", a small and fast graphical web browser. To\n"
-"access the help click the question mark button <code>?</code> in the top\n"
+"access the help click the question mark button <code><kbd>?</kbd></code> in the top\n"
"right corner at any time. Here are some tips to get you started:</p>\n"
"\n"
"<ul>\n"
" <li>The main configuration file is at <code>~/.dillo/dillorc</code>.</li>\n"
-" <li>Most actions can also be done by using the <em>keyboard</em>.</li>\n"
+" <li>Most actions can also be done by using the <a href='about:keys'>keyboard</a>.</li>\n"
" <li>Cookies are <em>disabled by default</em>.</li>\n"
" <li>Several Dillo plugins are available.</li>\n"
"</ul>\n"