Component evidence

DEC Private Mode Sequences (termio/dec.ts)

Raven · ui-tui/packages/hermes-ink/src/ink/termio/dec.ts · typescript · Apache-2.0
uiclitag:dectag:controltag:modes

Handles DEC private mode sequences for terminal control, including cursor visibility, screen modes, and mouse events.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/EverMind-AI/Raven | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// SPDX-License-Identifier: MIT
// Portions Copyright (c) original ink contributors (vadimdemedes/ink, MIT).
// Portions Copyright (c) 2025 Nous Research (hermes-agent / hermes-ink, MIT).
// Modifications Copyright (c) 2026 EverMind.
// See NOTICES.md and LICENSES/MIT-{hermes-agent,ink}.txt.

/**
 * DEC (Digital Equipment Corporation) Private Mode Sequences
 *
 * DEC private modes use CSI ? N h (set) and CSI ? N l (reset) format.
 * These are terminal-specific extensions to the ANSI standard.
 */

import { csi } from './csi.js'

/**
 * DEC private mode numbers
 */
export const DEC = {
 

... (truncated -- full source via MCP)