diff --git a/denops/ddu/ddu.ts b/denops/ddu/ddu.ts index 97f44fb..e316bf2 100644 --- a/denops/ddu/ddu.ts +++ b/denops/ddu/ddu.ts @@ -958,6 +958,18 @@ export class Ddu { ); } + const visible = await ui.visible({ + denops, + context: this.#context, + options: this.#options, + uiOptions, + uiParams, + tabNr: await fn.tabpagenr(denops), + }); + if (!visible) { + ui.prevDone = false; + } + // NOTE: :redraw is needed for command line await denops.cmd("redraw");