terminfo: add status line capabilities: hs, dsl, fsl and tsl

* hs  - boolean, signals status line availability
* tsl - to_status_line: begin an OSC 2 sequence (set window title)
* fsl - from_status_line: OSC terminator
* dsl - disable status line: \E]2;\E\\ - clears the window title

Closes #242
This commit is contained in:
Daniel Eklöf 2020-12-18 13:46:57 +01:00
parent 34fe1e3f81
commit fa93a97a08
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 7 additions and 0 deletions

View file

@ -92,6 +92,9 @@ means foot can be PGO:d in e.g. sandboxed build scripts. See
* OSC 777;notify: desktop notifications. Use in combination with the
new **notify** option in `foot.ini`
(https://codeberg.org/dnkl/foot/issues/224).
* Status line terminfo capabilities `hs`, `tsl`, `fsl` and `dsl`. This
enables e.g. vim to set the window title
(https://codeberg.org/dnkl/foot/issues/242).
### Changed