message: "Insert Emoji" can use the at-cursor list picker.
diff: *
  * This source code is licensed under the MIT license which is detailed in the LICENSE.txt file.
  */
  -import { ExtensionContext, Logger, ListPickerOptions } from '@extraterm/extraterm-extension-api';
  +import { ExtensionContext, Logger, OnCursorListPickerOptions } from '@extraterm/extraterm-extension-api';
  import { emojiNames, emojiCodePoints } from "./EmojiData";
  @@ -14,17 +14,15 @@ export function activate(_context: ExtensionContext): any {
  context = _context;
  log = context.logger;
  context.commands.registerCommand("insert-emoji:insert-emoji", showEmojiList);
  -
  }
  async function showEmojiList(): Promise<void> {
  - const allEmojiOptions: ListPickerOptions = {
  - title: "Insert Emoji",
  + const allEmojiOptions: OnCursorListPickerOptions = {
  items: emojiNames,
  selectedItemIndex: 0,
  };
  - const selected = await context.window.activeTerminal.tab.showListPicker(allEmojiOptions);
  + const selected = await context.window.activeTerminal.showOnCursorListPicker(allEmojiOptions);
  if (selected == null) {
  return;
  }
  