Compact-Log-Format-Viewer icon indicating copy to clipboard operation
Compact-Log-Format-Viewer copied to clipboard

Add CmdOrCtrl+Shift+W shortcut to close log file

Open ianleeder opened this issue 2 years ago • 1 comments

I'm often switching between mutliple log files, and wanted a more convenient way to do so. That's the original reason I downloaded the source code!

Many apps accept Ctrl-W to close the current document. That's already in use to close the window, so I added Ctrl-Shift-W.

ianleeder avatar Sep 15 '22 07:09 ianleeder

Also, this is just a poor-man's workaround. What I really wanted was to simply drag-n-drop over an existing log, and open a new file. But I'm not familiar enough with Angular or the dropzone library, and this was a quicker fix.

ianleeder avatar Sep 15 '22 07:09 ianleeder

Code change looks fine to add this new keyboard shortcut Thanks @ianleeder

warrenbuckley avatar Dec 08 '22 17:12 warrenbuckley

Looks good to me, thanks @ianleeder

warrenbuckley avatar Dec 12 '22 17:12 warrenbuckley