Fixes the behavior to use ESC to clear the input buffer area.

This commit is contained in:
zonble 2022-01-30 20:37:05 +08:00
parent 8ba4b9dfdf
commit c59560dba2
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ static NSString *const kGraphVizOutputfile = @"/tmp/McBopomofo-visualization.dot
// if the option is enabled, we clear everything including the composing
// buffer, walked nodes and the reading.
[self clear];
InputStateEmpty *empty = [[InputStateEmpty alloc] init];
InputStateEmptyIgnoringPreviousState *empty = [[InputStateEmptyIgnoringPreviousState alloc] init];
stateCallback(empty);
} else {
// if reading is not empty, we cancel the reading; Apple's built-in