I have searched the existing issues and discussions.
Problem Description
On a mac system, I have the muscle memory of being able to ctrl+a and ctrl+k to clear the text box. This flow doesn't work in open-webui, since ctrl+k brings up the search box instead.
In this case, it looks like "properly" would mean that on macOS systems you'd look at event.metaKey, otherwise you'd look at event.ctrlKey.
Alternatives Considered
No response
Additional Context
No response
Originally created by @joemccall86 on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15795
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
On a mac system, I have the muscle memory of being able to ctrl+a and ctrl+k to clear the text box. This flow doesn't work in open-webui, since ctrl+k brings up the search box instead.
### Desired Solution you'd like
Either allow arbitrary keyboard shortcut overrides, or change the detection of `isCtrlPressed` at https://github.com/open-webui/open-webui/blob/2470da833679f61619f2275862185259fe7f5168/src/routes/(app)/+layout.svelte#L118 to work properly on macOS systems. It looks like the intention was for macOS shortcuts to use the meta key, but in reality it will use ctrl OR meta, which subsumes twice the default shortcuts.
In this case, it looks like "properly" would mean that on macOS systems you'd look at `event.metaKey`, otherwise you'd look at `event.ctrlKey`.
### Alternatives Considered
_No response_
### Additional Context
_No response_
And #17015 which I just filed, which also deals with an unexpected/undesired shortcut (Cmd+R regenerates last message instead of reloading page)
<!-- gh-comment-id:3234899046 -->
@alythobani commented on GitHub (Aug 28, 2025):
And #17015 which I just filed, which also deals with an unexpected/undesired shortcut (Cmd+R regenerates last message instead of reloading page)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @joemccall86 on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15795
Check Existing Issues
Problem Description
On a mac system, I have the muscle memory of being able to ctrl+a and ctrl+k to clear the text box. This flow doesn't work in open-webui, since ctrl+k brings up the search box instead.
Desired Solution you'd like
Either allow arbitrary keyboard shortcut overrides, or change the detection of
isCtrlPressedat https://github.com/open-webui/open-webui/blob/2470da833679f61619f2275862185259fe7f5168/src/routes/(app)/+layout.svelte#L118 to work properly on macOS systems. It looks like the intention was for macOS shortcuts to use the meta key, but in reality it will use ctrl OR meta, which subsumes twice the default shortcuts.In this case, it looks like "properly" would mean that on macOS systems you'd look at
event.metaKey, otherwise you'd look atevent.ctrlKey.Alternatives Considered
No response
Additional Context
No response
@silentoplayz commented on GitHub (Aug 25, 2025):
Related - https://github.com/open-webui/open-webui/issues/1008
@alythobani commented on GitHub (Aug 28, 2025):
Also related: https://github.com/open-webui/open-webui/pull/13813 https://github.com/open-webui/open-webui/discussions/13708
@alythobani commented on GitHub (Aug 28, 2025):
And #17015 which I just filed, which also deals with an unexpected/undesired shortcut (Cmd+R regenerates last message instead of reloading page)
@d1ffuser commented on GitHub (Apr 14, 2026):
still relevant...