fix(desktop): resolve Ctrl+Alt+Enter accept drops and duplicate typo LLM checks
This commit is contained in:
parent
2a62f2496a
commit
02d0d0c6c1
15 changed files with 238 additions and 19 deletions
|
|
@ -284,7 +284,7 @@ async function initInputIntelligence(): Promise<void> {
|
|||
// 제안 창이 떠 있는 동안만 제안 단축키를 OS 에서 잡는다 — Ctrl+Alt+Enter 가 앱에도 전달돼
|
||||
// 개행이 들어가던 문제(2026-10-03). 창이 사라지면 바로 푼다.
|
||||
const syncSuggestionKeyCapture = (): void =>
|
||||
getKeyBindingService().setSuggestionCaptureActive(suggestion.isPresentationActive)
|
||||
getKeyBindingService().setSuggestionCaptureActive(suggestion.isOverlayOrCaptureActive)
|
||||
suggestion.on('updated', (state) => {
|
||||
overlay.onUpdated(state)
|
||||
syncSuggestionKeyCapture()
|
||||
|
|
@ -319,7 +319,7 @@ async function initInputIntelligence(): Promise<void> {
|
|||
trackModifierKeys()
|
||||
uIOhook.on('keydown', (event: UiohookKeyboardEvent) => {
|
||||
if (uiohookCodeToVk(event.keycode) !== VK.Escape) return
|
||||
const shouldDismiss = shouldDismissOnEscape(suggestion.isPresentationActive, {
|
||||
const shouldDismiss = shouldDismissOnEscape(suggestion.isOverlayOrCaptureActive, {
|
||||
ctrl: event.ctrlKey === true,
|
||||
alt: event.altKey === true,
|
||||
shift: event.shiftKey === true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue