From c8f308dd36525856430989540c38b4f5c3dd8d6e Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 1 Jun 2021 22:46:02 -0400 Subject: [PATCH] Update hotkeys dumper to use asciidoctor keyboard macro --- common/dialogs/panel_hotkeys_editor.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/dialogs/panel_hotkeys_editor.cpp b/common/dialogs/panel_hotkeys_editor.cpp index e101bc6253..8fe5cfc346 100644 --- a/common/dialogs/panel_hotkeys_editor.cpp +++ b/common/dialogs/panel_hotkeys_editor.cpp @@ -243,9 +243,14 @@ void PANEL_HOTKEYS_EDITOR::dumpHotkeys() stream << wxT( "| " ) << hk.m_Actions[0]->GetLabel() << endl; if( hk.m_EditKeycode > 0 ) - stream << wxT( " | `" ) << KeyNameFromKeyCode( hk.m_EditKeycode ) << '`' << endl; + { + stream << wxT( " | kbd:[" ) << KeyNameFromKeyCode( hk.m_EditKeycode ) << ']' + << endl; + } else + { stream << wxT( " |" ) << endl; + } stream << wxT( " | " ) << hk.m_Actions[0]->GetDescription( false ) << endl; }