Appearance
vt100.js vs xterm.js
Side-by-side terminal feature comparison
Summary
75 features differ between these terminals
Feature Comparison
Character Sets
| Feature | vt100.js | xterm.js |
|---|---|---|
| DEC line drawing character set | ✓ | ✓ |
| DEC Special Graphics | ✓ | ✓ |
| G0/G1 character set switching | ✓ | ✓ |
| UTF-8 mode | ✓ | ✓ |
Cursor
Device Status
Editing
Erase
Extensions
Input Protocols
Modes
Reset
| Feature | vt100.js | xterm.js |
|---|---|---|
| DECALN screen alignment (ESC # 8) | ✗ | ✓ |
| Backend reset() method | ✓ | ✓ |
| Full reset (RIS) | ✓ | ✓ |
| SGR reset clears attributes | ✓ | ✓ |
| Soft reset (DECSTR) | ✗ | ✓ |
Scrollback
SGR (Text Styling)
Text
Unicode
| Feature | vt100.js | xterm.js |
|---|---|---|
| East Asian Ambiguous Width | ✓ | ✓ |
| Grapheme Cluster Cursor Movement | ✓ | ✓ |
| Tab Stops (HT) | ✓ | ✓ |
| Wide Char at Line Wrap | ✗ | ✓ |
Only in vt100.js
3 features supported by vt100.js but not xterm.js:
Only in xterm.js
65 features supported by xterm.js but not vt100.js:
- CUP with DECOMCursor
- HPA horizontal position absolute (CSI `)Cursor
- Cursor shape (DECSCUSR)Cursor
- Mode Report (DECRPM)Device Status
- Request Setting (DECRQSS)Device Status
- Secondary Device Attributes (DA2)Device Status
- XTGETXRES — query resource value (DCS + Q)Device Status
- XTREPORTCOLORS — report color capabilities (CSI # R)Device Status
- Report window size in pixels (CSI 14 t)Device Status
- Report cell size in pixels (CSI 16 t)Device Status
- Report text area size in chars (CSI 18 t)Device Status
- Report icon label (CSI 20 t)Device Status
- Report window title (CSI 21 t)Device Status
- Delete characters (DCH)Editing
- Delete lines (DL)Editing
- Insert characters (ICH)Editing
- Insert lines (IL)Editing
- Repeat character (REP)Editing
- Erase character (ECH)Erase
- EL erases with bg colorErase
- Selective Erase (DECSED)Erase
- Hyperlinks (OSC 8)Extensions
- Text reflow on resizeExtensions
- 24-bit truecolorExtensions
- Button-Event Mouse (1002)Input Protocols
- X10 Mouse Tracking (9)Input Protocols
- Enter alt screen (DECSET 1049)Modes
- Alt screen clear-on-enter (?1047)Modes
- Save/restore cursor (?1048)Modes
- Alt screen legacy (?47)Modes
- Bracketed paste (DECSET 2004)Modes
- Focus tracking (DECSET 1004)Modes
- Insert/replace mode (IRM)Modes
- All motion mouse (DECSET 1003)Modes
- SGR mouse mode (DECSET 1006)Modes
- Mouse tracking (DECSET 1000)Modes
- DECALN screen alignment (ESC # 8)Reset
- Soft reset (DECSTR)Reset
- Alt screen separate scrollbackScrollback
- 256-color bg (SGR 48;5)SGR (Text Styling)
- Bright bg colors (SGR 100-107)SGR (Text Styling)
- Standard bg colors (SGR 40-47)SGR (Text Styling)
- 24-bit bg (SGR 48;2)SGR (Text Styling)
- Faint/dim (SGR 2)SGR (Text Styling)
- 256-color fg (SGR 38;5)SGR (Text Styling)
- Bright fg colors (SGR 90-97)SGR (Text Styling)
- Standard fg colors (SGR 30-37)SGR (Text Styling)
- 24-bit fg (SGR 38;2)SGR (Text Styling)
- Hidden/invisible (SGR 8)SGR (Text Styling)
- Italic (SGR 3)SGR (Text Styling)
- Strikethrough (SGR 9)SGR (Text Styling)
- Underline color, indexed (SGR 58;5)SGR (Text Styling)
- Reset underline color (SGR 59)SGR (Text Styling)
- Underline color, truecolor (SGR 58;2)SGR (Text Styling)
- Underline color (SGR 58)SGR (Text Styling)
- Curly underline (SGR 4:3)SGR (Text Styling)
- Dashed underline (SGR 4:5)SGR (Text Styling)
- Dotted underline (SGR 4:4)SGR (Text Styling)
- Double underline (SGR 21)SGR (Text Styling)
- CBT backward tab (CSI Z)Text
- CHT forward tab (CSI I)Text
- Combining characters (0 cols)Text
- HTS set tab stop (ESC H)Text
- CJK wide chars (2 cols)Text
- Wide Char at Line WrapUnicode