{"id":16939815,"url":"https://github.com/fd0/termtest","last_synced_at":"2025-03-21T06:10:20.502Z","repository":{"id":136285900,"uuid":"80654742","full_name":"fd0/termtest","owner":"fd0","description":"Test terminal Go applications using tmux","archived":false,"fork":false,"pushed_at":"2018-04-27T13:17:46.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T02:52:09.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fd0.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-01T19:19:40.000Z","updated_at":"2018-04-27T13:17:47.000Z","dependencies_parsed_at":"2023-04-09T03:35:05.793Z","dependency_job_id":null,"html_url":"https://github.com/fd0/termtest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftermtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftermtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftermtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftermtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fd0","download_url":"https://codeload.github.com/fd0/termtest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745760,"owners_count":20503050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-13T21:05:33.870Z","updated_at":"2025-03-21T06:10:20.496Z","avatar_url":"https://github.com/fd0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GoDoc](https://godoc.org/github.com/fd0/termtest?status.svg)](http://godoc.org/github.com/fd0/termtest)\n[![Build Status](https://travis-ci.org/fd0/termtest.svg?branch=master)](https://travis-ci.org/fd0/termtest)\n\ntermtest is a small helper program to run terminal user interface tests by\nusing tmux in Go.\n\nExample:\n\n```go\n// create terminal\nterm, _ := termtest.New()\n\n// run a command in a terminal with 12 columns and 13 lines\nbuf, _ := term.Run(12, 13, \"echo This is a long line that will wrap for sure\")\n\n// print the output string:\n// Output: \"This is a lo\\nng line that\\n will wrap f\\nor sure\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\"\nfmt.Printf(\"%q\\n\", buf)\n\n// stop the tmux instance\nterm.Exit()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffd0%2Ftermtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffd0%2Ftermtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffd0%2Ftermtest/lists"}