73c1bc2d039b3290a034220014feb5c479ac8455
* fix(IME): Prevent Esc from closing editor during composition When using a Chinese IME, pressing the Escape key during composition should cancel the composition, not close the message editor. This commit fixes the issue by adding a check for `!e.isComposing` to the 'keyup' event listener for the Escape key in `public/script.js`. This ensures that the editor is only closed when the Escape key is pressed outside of an IME composition session. * fix(IME): Change the handler of 'Escape' from 'keyup' to 'keydown' --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
SillyTavern
LLM Frontend for Power Users
Resources
- GitHub: https://github.com/SillyTavern/SillyTavern
- Docs: https://docs.sillytavern.app/
- Discord: https://discord.gg/sillytavern
- Reddit: https://reddit.com/r/SillyTavernAI
License
AGPL-3.0
Languages
JavaScript
88.7%
HTML
8.1%
CSS
2.8%
Less
0.3%