kingToolbox / WindTerm

A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
https://kingtoolbox.github.io
23.45k stars 1.81k forks source link

How to add shortcut keys on windows? #2342

Closed rain2307 closed 3 weeks ago

rain2307 commented 6 months ago

I need to clear the screen, but right now I need to press Ctrl+L first and then Ctrl+Shift+L, which is very inconvenient. I also don't want to right-click the mouse to select 'Clear All'.

I have two questions: The first one is how to add a shortcut key for 'Clear All'? How should the action be written? The second question is, in which file should I add the definition of the shortcut key? I use Windows, and I hope to avoid modifying global/wind.keymaps.