MCPcopy Create free account
hub / github.com/apache/maka / encodeTerminalInputActions

Function encodeTerminalInputActions

packages/core/src/terminal-input.ts:186–191  ·  view source on GitHub ↗
(
  actions: readonly TerminalInputAction[],
  state: TerminalInputModes | TerminalInputState,
)

Source from the content-addressed store, hash-verified

184}
185
186export function encodeTerminalInputActions(
187 actions: readonly TerminalInputAction[],
188 state: TerminalInputModes | TerminalInputState,
189): string {
190 return actions.map((action) => encodeTerminalInputAction(action, state)).join('');
191}
192
193export function encodedTerminalInputActionsByteLength(
194 actions: readonly TerminalInputAction[],

Callers 2

writeStdinMethod · 0.90

Calls 2

joinMethod · 0.80

Tested by

no test coverage detected