luke.b//blog

< back to logs after before

The control sequences that NeoVim sends to stdout when it starts are as follows:

{"params":[47],"code":"DECSET"}
{"params":[1],"code":"DECSET"}
{"params":[2004],"code":"DECSET"}
{"params":[1004],"code":"DECSET"}
{"params":[2],"code":"DECSCUSR"}
{"params":[2],"code":"DECSCUSR"}

The single parameter indicates which flag to control, and the code DECSET is the name of the sequence that should cause the flag to be set. DECRST is the code for marking the flag as unset.

  • DECSET 47 = “Use Alternate Screen Buffer”
  • DECSET 1 = “Application Cursor Keys”
  • DECSET 2004 = “Set bracketed paste mode”
  • DECSET 1004 = “Send FocusIn/FocusOut events”
  • DECSCUSR 2 = “Set cursor style…steady block”