UNPKG

@visulima/ansi

Version:

ANSI escape codes for some terminal swag.

18 lines (13 loc) 802 B
'use strict'; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } }); const constants = require('./packem_shared/constants-BK26O-46.cjs'); var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); const ALT_SCREEN_ON = `${constants.CSI}?1049h`; const ALT_SCREEN_OFF = `${constants.CSI}?1049l`; const alternativeScreenOn = /* @__PURE__ */ __name(() => ALT_SCREEN_ON, "alternativeScreenOn"); const alternativeScreenOff = /* @__PURE__ */ __name(() => ALT_SCREEN_OFF, "alternativeScreenOff"); exports.ALT_SCREEN_OFF = ALT_SCREEN_OFF; exports.ALT_SCREEN_ON = ALT_SCREEN_ON; exports.alternativeScreenOff = alternativeScreenOff; exports.alternativeScreenOn = alternativeScreenOn;