Terminal Guide

Select Format for Modifier Keys in Cursor Key Press Reports

ESC1B[5B >3e 131 ;3b mode m6d
xterm
mode = reset

Select format for modifier keys in cursor key press reports.

This changes the reported sequence for:

modeexample
0ESC1b [5b 535 A41  or ESC1b O4f 535 A41  depending on cursor key format
1ESC1b [5b 535 A41 
2ESC1b [5b 131 ;3b 535 A41 
3ESC1b [5b >3e 131 ;3b 535 A41 

If mode is not given, reset this setting to it's initial state.

This page is possibly incomplete. Please report an issue if you see something is missing or you have further information.

xterm ( ✔ )

🛈 defaults to mode 2.