improve t9ext

This commit is contained in:
xianjimli 2020-04-21 12:41:54 +08:00
parent a2b4897309
commit c8edbb0d9c

View File

@ -254,7 +254,9 @@ static ret_t input_engine_t9ext_search(input_engine_t* engine, const char* keys)
keys_size = strlen(keys);
if (keys_size == 0) {
engine->candidates_nr = 0;
input_engine_reset_input(engine);
input_method_dispatch_candidates(engine->im, engine->candidates, 0);
return RET_OK;
}