{"id":24083348,"url":"https://github.com/mitranim/emptty","last_synced_at":"2026-05-17T17:39:36.206Z","repository":{"id":57565037,"uuid":"336792259","full_name":"mitranim/emptty","owner":"mitranim","description":"Clears the terminal, for real. (But probably only on my system.)","archived":false,"fork":false,"pushed_at":"2021-02-07T13:25:45.000Z","size":1,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T15:57:00.664Z","etag":null,"topics":["clearing","golang","terminal","tty"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitranim.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-07T13:22:28.000Z","updated_at":"2024-05-02T11:59:30.000Z","dependencies_parsed_at":"2022-08-23T12:10:40.910Z","dependency_job_id":null,"html_url":"https://github.com/mitranim/emptty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mitranim/emptty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Femptty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Femptty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Femptty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Femptty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitranim","download_url":"https://codeload.github.com/mitranim/emptty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Femptty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33148087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["clearing","golang","terminal","tty"],"created_at":"2025-01-09T23:56:26.855Z","updated_at":"2026-05-17T17:39:36.191Z","avatar_url":"https://github.com/mitranim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nClears the terminal, for real. (But probably only on my system.)\n\n## Why\n\nGoogling brings up bizarre advice:\n\n* Calling a subprocess, when all you needed was to print a few bytes.\n* Scrolling the viewport without clearing the scrollback.\n\nEnough! `emptty` provides several functions including a \"hard clear\" that should empty the TTY for real.\n\n## Usage\n\n```go\nimport \"github.com/mitranim/emptty\"\n\nemptty.ClearHard()\n```\n\nSee https://pkg.go.dev/github.com/mitranim/emptty for the full API.\n\n## Compatibility\n\nWorks on everything I tested:\n\n* MacOS Terminal.\n* iTerm2.\n* Microsoft Terminal running Ubuntu under WSL.\n* Terminus (Sublime Text plugin).\n\nMay or may not work in other emulators.\n\n## License\n\nhttps://unlicense.org\n\n## Misc\n\nI'm receptive to suggestions. If this library _almost_ satisfies you but needs changes, open an issue or chat me up. Contacts: https://mitranim.com/#contacts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitranim%2Femptty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitranim%2Femptty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitranim%2Femptty/lists"}