webssh2-server
Version:
A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2
10 lines (9 loc) • 303 B
TypeScript
/**
* Terminal state reducer
*/
import type { TerminalState } from '../types.js';
import type { SessionAction } from '../actions.js';
/**
* Terminal reducer - handles terminal state transitions
*/
export declare const terminalReducer: (state: TerminalState, action: SessionAction) => TerminalState;