mirror of
https://github.com/alei1180/curlone.git
synced 2025-11-24 22:53:34 +02:00
feat: Добавление поддержки отправки запроса комбинацией Ctrl+Enter
This commit is contained in:
@@ -350,6 +350,12 @@
|
||||
copyToClipboard(outputText);
|
||||
});
|
||||
|
||||
convertInput.addEventListener("keyup", function (e){
|
||||
if (e.keyCode == 13 && e.ctrlKey){
|
||||
convertButton.click();
|
||||
}
|
||||
});
|
||||
|
||||
const highlighter = await createHighlighterCore({
|
||||
themes: [theme],
|
||||
langs: [lang],
|
||||
|
||||
Reference in New Issue
Block a user