mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-12 10:47:01 +00:00
webui: fix keyboard shortcuts for new chat & edit chat title (#17007)
This commit is contained in:
Binary file not shown.
@@ -44,12 +44,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isCtrlOrCmd && event.shiftKey && event.key === 'o') {
|
if (isCtrlOrCmd && event.shiftKey && event.key === 'O') {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
goto('?new_chat=true#/');
|
goto('?new_chat=true#/');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event.shiftKey && isCtrlOrCmd && event.key === 'e') {
|
if (event.shiftKey && isCtrlOrCmd && event.key === 'E') {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
if (chatSidebar?.editActiveConversation) {
|
if (chatSidebar?.editActiveConversation) {
|
||||||
|
|||||||
Reference in New Issue
Block a user