diff --git a/js/main.js b/js/main.js index e6a23726..4c09fce6 100644 --- a/js/main.js +++ b/js/main.js @@ -63,8 +63,8 @@ document.addEventListener("keydown", function(event) { document.getElementById('Regenerate').click(); } - // Continue on Ctrl + Shift + C - else if (event.ctrlKey && event.shiftKey && event.key === 'C') { + // Continue on Alt + Enter + else if (event.altKey && event.key === 'Enter') { event.preventDefault(); document.getElementById('Continue').click(); } diff --git a/modules/ui_chat.py b/modules/ui_chat.py index 92bf748a..5c7933eb 100644 --- a/modules/ui_chat.py +++ b/modules/ui_chat.py @@ -41,7 +41,7 @@ def create_ui(): # Hover menu buttons shared.gradio['Regenerate'] = gr.Button('Regenerate (Ctrl + Enter)', elem_id='Regenerate') - shared.gradio['Continue'] = gr.Button('Continue (Ctrl + Shift + C)', elem_id='Continue') + shared.gradio['Continue'] = gr.Button('Continue (Alt + Enter)', elem_id='Continue') shared.gradio['Remove last'] = gr.Button('Remove last reply (Ctrl + Shift + Backspace)', elem_id='Remove-last') shared.gradio['Replace last reply'] = gr.Button('Replace last reply (Ctrl + Shift + L)', elem_id='Replace-last') shared.gradio['Copy last reply'] = gr.Button('Copy last reply (Ctrl + Shift + K)', elem_id='Copy-last')