charmbracelet / charmbracelet/sequin
TODO: tput rs2
- Dominant language
- Go
- Stars
- 812
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
G'day! Hit two TODOs on macOS (TERM=xterm-256color):
```plaintext
$ tput rs2 | sequin
CSI !p: TODO: unhandled sequence
CSI ?3;4l: Disable private mode "unknown"
CSI 4l: Disable mode "unknown"
ESC >: TODO: unhandled sequence
```
Some digging about suggests:
| sequence | name | links |
|-|-|-|
| `CSI !p` | DECSTR | [vt100.net](https://vt100.net/docs/vt510-rm/DECSTR.html), [xtermjs docs](https://xtermjs.org/docs/api/vtfeatures/#:~:text=DECSTR), [xtermjs source](https://github.com/xtermjs/docs.xtermjs.org/blob/gh-pages/src_xterm.js.html#L4585-L4603) |
| `ESC >` | DECPNM | [vt100.net](https://vt100.net/docs/vt220-rm/chapter4.html#S4.6.18), [xtermjs source](https://github.com/xtermjs/docs.xtermjs.org/blob/gh-pages/src_xterm.js.html#L1856-L1861), [console_codes(4)](https://man7.org/linux/man-pages/man4/console_codes.4.html#:~:text=DECPNM) |
Good luck! I figure it'd be a good first PR, but regret I lack the time.
Contributor guide
Assessment
This issue has not been assessed yet.