1943time / inkdown

A WYSIWYG Markdown editor, improve reading and editing experience. and generate your Markdown files into online documents in the easiest and fastest way.
https://www.inkdown.me
GNU Affero General Public License v3.0
861 stars 35 forks source link

In MacOS, command + W does not close the last tab #36

Closed chen-yingfa closed 5 months ago

chen-yingfa commented 5 months ago

In MacOS, command + W can close a tab, but when there is only one document open, nothing happens. In most editors, such as Obsidian and Typora, this hotkey closes the application, which is the feature that I request.

1943time commented 5 months ago

command+w closing the window may result in misoperation, I am still considering this operation.

1943time commented 5 months ago

I have modified it to use mod+w to close the current window when there is only one tab