mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
w
This commit is contained in:
parent
f03552a2ab
commit
01b45c98ac
1 changed files with 3 additions and 2 deletions
|
|
@ -200,8 +200,7 @@ internal sealed unsafe class DalamudIme : IDisposable, IServiceType
|
|||
or VK.VK_RETURN:
|
||||
if (this.ImmCand.Count != 0)
|
||||
{
|
||||
TextState.Stb.SelectStart = TextState.Stb.Cursor = TextState.Stb.SelectEnd;
|
||||
ImmNotifyIME(hImc, NI.NI_COMPOSITIONSTR, CPS_CANCEL, 0);
|
||||
this.ClearState(hImc);
|
||||
args.WParam = VK.VK_PROCESSKEY;
|
||||
}
|
||||
|
||||
|
|
@ -367,6 +366,8 @@ internal sealed unsafe class DalamudIme : IDisposable, IServiceType
|
|||
this.ImmComp = string.Empty;
|
||||
this.PartialConversionFrom = this.PartialConversionTo = 0;
|
||||
this.CompositionCursorOffset = 0;
|
||||
TextState.Stb.SelectStart = TextState.Stb.Cursor = TextState.Stb.SelectEnd;
|
||||
ImmNotifyIME(hImc, NI.NI_COMPOSITIONSTR, CPS_CANCEL, 0);
|
||||
this.UpdateImeWindowStatus(default);
|
||||
|
||||
ref var textState = ref TextState;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue