summaryrefslogtreecommitdiff
path: root/src/ui/keys.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-22 22:24:13 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-22 22:24:13 +0300
commitfd94d906676b0dcef2b783c992f75254a61ae025 (patch)
treea117549152c70d3105b7f94d910ba1333368b2af /src/ui/keys.h
parent4108d5b0154775e2bf2c3af5003cf840675d789a (diff)
Document footer buttons
In some situations, e.g., when a client certificate is required but not active, make available action buttons that offer related shortcuts. Selecting or deselecting an identity for use will automatically reload the current page for convenience. Animate closing sidebars with Escape key.
Diffstat (limited to 'src/ui/keys.h')
-rw-r--r--src/ui/keys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/keys.h b/src/ui/keys.h
index 4cbca3b7..6273027a 100644
--- a/src/ui/keys.h
+++ b/src/ui/keys.h
@@ -26,6 +26,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
26#include <the_Foundation/ptrarray.h> 26#include <the_Foundation/ptrarray.h>
27#include <SDL_events.h> 27#include <SDL_events.h>
28 28
29#define newIdentity_KeyShortcut SDLK_n, KMOD_PRIMARY | KMOD_SHIFT
30
29#if defined (iPlatformApple) 31#if defined (iPlatformApple)
30# define reload_KeyShortcut SDLK_r, KMOD_PRIMARY 32# define reload_KeyShortcut SDLK_r, KMOD_PRIMARY
31# define newTab_KeyShortcut SDLK_t, KMOD_PRIMARY 33# define newTab_KeyShortcut SDLK_t, KMOD_PRIMARY