Skip to content

Commit

Permalink
한자 입력기 나갈 때 한자 후보 숨기기
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed Feb 11, 2020
1 parent 6c4c554 commit 736ae2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions OSXCore/Debug.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import Foundation
}
NSLogv(format, getVaList(args))
}

#else
func dlog(_: CVarArg...) {
// do nothing in release mode
Expand Down
3 changes: 3 additions & 0 deletions OSXCore/SearchComposer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ extension SearchComposer {
_searchLock.lock()
candidates = nil
_searchLock.unlock()

InputMethodServer.shared.candidates.hide()

// 3. 조합 중인 문자를 모두 가져옴
delegate.cancelComposition()
_bufferedString.append(delegate.dequeueCommitString())
Expand Down

0 comments on commit 736ae2a

Please sign in to comment.