export const KEY_BYTES = {
  esc: '\x1b',
  tab: '\t',
  'arrow-left': '\x1b[D',
  'arrow-down': '\x1b[B',
  'arrow-up': '\x1b[A',
  'arrow-right': '\x1b[C',
  'ctrl-c': '\x03',
} as const;

export type KeyId = keyof typeof KEY_BYTES;
