mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-13 16:04:05 +09:00
alt-s to save and send message
This commit is contained in:
@@ -93,6 +93,14 @@
|
||||
message.content = original
|
||||
editing = false
|
||||
}
|
||||
if (event.altKey && event.key === 's') {
|
||||
if (!editing) return
|
||||
event.stopPropagation()
|
||||
event.preventDefault()
|
||||
exit()
|
||||
checkTruncate()
|
||||
setTimeout(checkTruncate, 10)
|
||||
}
|
||||
}
|
||||
|
||||
// Double click for mobile support
|
||||
|
||||
Reference in New Issue
Block a user