You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose and key features of the component. it uses xterm.js:
Terminal Emulation: a terminal emulator that enables developers to integrate fully-featured, customizable terminal interfaces into browser-based applications.
It supports escape sequences and renders terminal output similar to traditional terminal environments.
Supported Terminal Sequences:
Terminal sequences are categorized by their type:
C0: Single-byte commands (7-bit control codes, byte range: \x00 to \x1F, \x7F).
C1: Single-byte commands (8-bit control codes, byte range: \x80 to \x9F).
ESC: Sequences starting with ESC (\x1B).
CSI (Control Sequence Introducer): Sequences starting with ESC [ (7-bit) or CSI (\x9B, 8-bit).
DCS (Device Control String): Sequences starting with ESC P (7-bit) or DCS (\x90, 8-bit).
OSC (Operating System Command): Sequences starting with ESC ] (7-bit) or OSC (\x9D, 8-bit).
Properties and Customization
Configurable Attributes: Attributes such as rows, columns, autoFit, options, and theme can be tailored to fit application requirements.
Customization:
Use TerminalOptions to define terminal configurations.
Use TerminalTheme to customize the terminal's appearance.
Methods
Common API methods for interacting with the terminal include:
write: Writes data to the terminal. Supports callbacks for processing completion.
clear: Clears the terminal content.
focus: Focuses the terminal.
....
Events
Supports handling events such as terminal data and key interactions:
TerminalDataEvent: Triggered when data is processed in the terminal.
TerminalKeyEvent: Triggered when a key is pressed in the terminal.
Integration
A comprehensive demo is available to showcase terminal capabilities and features in practical scenarios (Check this demo
The text was updated successfully, but these errors were encountered:
webforj/webforj#662
webforj/webforj#676
Overview
The purpose and key features of the component. it uses xterm.js:
Terminal Emulation: a terminal emulator that enables developers to integrate fully-featured, customizable terminal interfaces into browser-based applications.
Supported Terminal Sequences:
Terminal sequences are categorized by their type:
\x00
to\x1F
,\x7F
).\x80
to\x9F
).ESC
(\x1B
).ESC [
(7-bit) orCSI
(\x9B
, 8-bit).ESC P
(7-bit) orDCS
(\x90
, 8-bit).ESC ]
(7-bit) orOSC
(\x9D
, 8-bit).Properties and Customization
rows
,columns
,autoFit
,options
, andtheme
can be tailored to fit application requirements.TerminalOptions
to define terminal configurations.TerminalTheme
to customize the terminal's appearance.Methods
write
: Writes data to the terminal. Supports callbacks for processing completion.clear
: Clears the terminal content.focus
: Focuses the terminal.Events
TerminalDataEvent
: Triggered when data is processed in the terminal.TerminalKeyEvent
: Triggered when a key is pressed in the terminal.Integration
The text was updated successfully, but these errors were encountered: