This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/node_modules/ink/build/parse-keypress.d.ts
T

15 lines
374 B
TypeScript

import { Buffer } from 'node:buffer';
export declare const nonAlphanumericKeys: string[];
type ParsedKey = {
name: string;
ctrl: boolean;
meta: boolean;
shift: boolean;
option: boolean;
sequence: string;
raw: string | undefined;
code?: string;
};
declare const parseKeypress: (s?: Buffer | string) => ParsedKey;
export default parseKeypress;