Skip to content

Repeat character (REP)

Category: editing · Tags: ECMA-48 Standard · Specification ↗

REP repeats the preceding graphic character N times. The sequence is ESC [ N b (default N=1). This is a bandwidth optimization — instead of sending the same character hundreds of times (e.g., filling a row with dashes), the application sends the character once followed by REP. Not all terminals implement this sequence.

Supported by 5 of 6 backends (83%)

Support Matrix

BackendVersionSupportNotes
Alacritty0.26.0✓ yes
Ghostty1.3.1✓ yes
Kitty0.40.0✓ yes
WezTerm0.1.0-fork.5✓ yes
xterm.js5.5.0✓ yes
vt1000.1.0✗ noREP not implemented — pure TypeScript emulator

Powered by Termless
Playwright for Terminals