{"id":16788567,"url":"https://github.com/mna/zzcsi","last_synced_at":"2026-05-18T08:32:57.187Z","repository":{"id":64306082,"uuid":"252830235","full_name":"mna/zzcsi","owner":"mna","description":"Control Sequence Introducer (CSI) functions for xterm-compatible terminals. (mirror)","archived":false,"fork":false,"pushed_at":"2020-04-03T20:08:50.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-17T00:41:29.213Z","etag":null,"topics":["mirror","terminal"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-03T20:08:19.000Z","updated_at":"2021-12-03T07:00:55.000Z","dependencies_parsed_at":"2022-12-06T08:22:33.140Z","dependency_job_id":null,"html_url":"https://github.com/mna/zzcsi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mna/zzcsi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mna%2Fzzcsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mna%2Fzzcsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mna%2Fzzcsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mna%2Fzzcsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mna","download_url":"https://codeload.github.com/mna/zzcsi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mna%2Fzzcsi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33170848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mirror","terminal"],"created_at":"2024-10-13T08:18:18.975Z","updated_at":"2026-05-18T08:32:57.150Z","avatar_url":"https://github.com/mna.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zzcsi [![builds.sr.ht status](https://builds.sr.ht/~mna/zzcsi.svg)](https://builds.sr.ht/~mna/zzcsi?) [![GoDoc](https://godoc.org/git.sr.ht/~mna/zzcsi?status.svg)](http://godoc.org/git.sr.ht/~mna/zzcsi) [![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/git.sr.ht/~mna/zzcsi)\n\n* Canonical repository: https://git.sr.ht/~mna/zzcsi\n* Issues: https://todo.sr.ht/~mna/zzcsi\n* Builds: https://builds.sr.ht/~mna/zzcsi\n\nPackage zzcsi implements the Control Sequence Introducer (CSI) functions\nsupported by Xterm-compatible terminals. The most commonly used functions are\nto erase a line or the screen, manipulate the cursor or set the display\nattributes such as foreground and background colors, bold or italics, but many\nmore functions are available. See the [xterm documentation][xterm] for more\ninformation on CSI sequences.\n\nSee the [package documentation][godoc] for details, API reference and usage\nexample (alternatively, on [pkg.go.dev][pgd]).\n\nThis is a package in the [zzterm][zzt] family of Go packages, which aim to\nhelp build terminal-based programs with a focus on speed and memory efficiency.\n\n## Benchmarks\n\nWhen using a buffer of sufficient capacity, `CSI.AppendFunc` can append the\nCSI escape sequence without allocation.\n\n```\nbenchmark                       iter      time/iter   bytes alloc        allocs\n---------                       ----      ---------   -----------        ------\nBenchmarkCSI/Func-4          9971707   116.00 ns/op       24 B/op   2 allocs/op\nBenchmarkCSI/FuncString-4    8935776   135.00 ns/op       32 B/op   3 allocs/op\nBenchmarkCSI/AppendFunc-4   20534767    58.80 ns/op        0 B/op   0 allocs/op\nBenchmarkCSI/DecodeArgs-4   20537282    55.00 ns/op        0 B/op   0 allocs/op\n```\n\n## License\n\nThe [BSD 3-Clause license][bsd].\n\n[bsd]: http://opensource.org/licenses/BSD-3-Clause\n[godoc]: http://godoc.org/git.sr.ht/~mna/zzcsi\n[pgd]: https://pkg.go.dev/git.sr.ht/~mna/zzcsi\n[xterm]: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Functions-using-CSI-_-ordered-by-the-final-character_s_\n[zzt]: https://git.sr.ht/~mna/?search=zz\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmna%2Fzzcsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmna%2Fzzcsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmna%2Fzzcsi/lists"}