mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
alt-s to save and send message
This commit is contained in:
@@ -93,6 +93,14 @@
|
|||||||
message.content = original
|
message.content = original
|
||||||
editing = false
|
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
|
// Double click for mobile support
|
||||||
|
|||||||
Reference in New Issue
Block a user