UNPKG

@visulima/ansi

Version:

ANSI escape codes for some terminal swag.

16 lines (15 loc) 661 B
/** * Returns a urxvt (rxvt-unicode) extension sequence (`OSC 777`). * * urxvt exposes Perl extensions through `OSC 777`, where the first parameter is * the extension name followed by its arguments, e.g. * `urxvtExtension("notify", "title", "body")`. * * Sequence: `OSC 777 ; extension ; param1 ; param2 ; … BEL` * @param extension The extension name to invoke. * @param parameters The extension parameters, joined with `;`. * @returns The `OSC 777` escape sequence. * @see {@link https://man.archlinux.org/man/urxvt.7} */ declare const urxvtExtension: (extension: string, ...parameters: string[]) => string; export { urxvtExtension as default };