mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
Add OSX keystroke to clear RPCConsole
Currently only Ctrl-L is mentioned in help, but, (⌘)-L functions on OSX and isn't mentioned.
This commit is contained in:
parent
6a796b2b53
commit
012fa9b99d
@ -730,8 +730,14 @@ void RPCConsole::clear(bool clearHistory)
|
||||
).arg(fixedFontInfo.family(), QString("%1pt").arg(consoleFontSize))
|
||||
);
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
QString clsKey = "(⌘)-L";
|
||||
#else
|
||||
QString clsKey = "Ctrl-L";
|
||||
#endif
|
||||
|
||||
message(CMD_REPLY, (tr("Welcome to the %1 RPC console.").arg(tr(PACKAGE_NAME)) + "<br>" +
|
||||
tr("Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.") + "<br>" +
|
||||
tr("Use up and down arrows to navigate history, and %1 to clear screen.").arg("<b>"+clsKey+"</b>") + "<br>" +
|
||||
tr("Type <b>help</b> for an overview of available commands.")) +
|
||||
"<br><span class=\"secwarning\">" +
|
||||
tr("WARNING: Scammers have been active, telling users to type commands here, stealing their wallet contents. Do not use this console without fully understanding the ramification of a command.") +
|
||||
|
Loading…
Reference in New Issue
Block a user