{"id":16214651,"url":"https://github.com/zackeryrsmith/tercontrol","last_synced_at":"2025-03-19T09:31:21.597Z","repository":{"id":103734472,"uuid":"473961915","full_name":"ZackeryRSmith/tercontrol","owner":"ZackeryRSmith","description":"Lightweight cross-platform terminal control library for C/C++","archived":false,"fork":false,"pushed_at":"2022-09-03T14:17:22.000Z","size":11131,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T17:47:00.009Z","etag":null,"topics":["linux","posix","posix-systems","terminal","unix","windows"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZackeryRSmith.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-25T10:18:11.000Z","updated_at":"2025-01-19T23:49:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e3e4768-398a-4032-a5ce-10cff23180b8","html_url":"https://github.com/ZackeryRSmith/tercontrol","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZackeryRSmith%2Ftercontrol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZackeryRSmith%2Ftercontrol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZackeryRSmith%2Ftercontrol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZackeryRSmith%2Ftercontrol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZackeryRSmith","download_url":"https://codeload.github.com/ZackeryRSmith/tercontrol/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982141,"owners_count":20378605,"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":["linux","posix","posix-systems","terminal","unix","windows"],"created_at":"2024-10-10T11:11:55.561Z","updated_at":"2025-03-19T09:31:21.592Z","avatar_url":"https://github.com/ZackeryRSmith.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTerControl\u003c/h1\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\u003ca href=\"#about-tercontrol\"\u003eAbout TerControl\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n    \u003c!-- \u003cli\u003e\u003ca href=\"#build\"\u003eBuild\u003c/a\u003e\u003c/li\u003e --\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#thanks\"\u003eThanks\u003c/a\u003e\u003c/lu\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n  \n\u003c!--\nStart of about\n--\u003e\n###### \u003ca name=\"about-tercontrol\" /\u003e\n**TerControl** is a lightweight opinion based terminal control library for C/C++. TerControl gives the end-user all the tools needed to manipulate the terminal (Look at [features](#features) for a full list of features). \n\nTerControl was created to suit my needs for terminal control without having to rely on Curses or NCurses, thus TerControl is heavily influenced by my needs. I'm very open to ideas and suggestions so if you have an idea open an issue with a feature request! Currently, TerControl is compatible with Windows and UNIX/POSIX based systems.\n\u003c!--\nEnd of about\n--\u003e\n\n\u003c!--\nStart of features\n--\u003e\n## Features \u003ca name=\"features\" /\u003e\n\n- No dependencies (other then C's standard library) \u003c!-- - Terminfo support (Linux) --\u003e\n- Cursor\n    - Move the cursor N times (up, down, left, right)\n    - Set/get the cursor position\n    - Hide/show the cursor\n- Styled output \n    - Foreground color (16 base colors)\n    - Background color (16 base colors)\n    - 256 (ANSI) color support\n    - RGB color support (Linux)\n    - Text attributes (bold, dim, italic, underscore, crossed, reversed, blink, invisible)\n- Terminal \n    - Clear (all lines, current line, from cursor down and up, clear partial)\n    - Get the terminal size\n    - Alternate screen\n    - Exit alternate screen\n- Event\n    - Input Events\n\u003c!--\nEnd of features\n--\u003e\n\n\u003c!-- \nStart of installation\n--\u003e\n## Installation \u003ca name=\"installation\" /\u003e\n**This may be changed in the future!**\nFor now please:\n1. install the [header file](https://github.com/ZackeryRSmith/tercontrol/blob/main/tercontrol.h)\n2. place it into your project directory\n3. include it like so `#include \"tercontrol.h\"`\n\u003c!--\nEnd of installation\n--\u003e\n\n\u003c!--\nStart of build\n--\u003e\n\u003c!-- ## Build \u003ca name=\"build\" /\u003e --\u003e\n\u003c!--\nEnd of build\n--\u003e\n\n\u003c!--\nStart of contributing\n--\u003e\n## Contributing \u003ca name=\"contributing\" /\u003e\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\u003c!--\nEnd of contributing\n--\u003e\n\n\u003c!--\nStart of licence\n--\u003e\n## Licence \u003ca name=\"license\" /\u003e\nAll code is distributed under the [GNU GPLv3 licence](https://github.com/ZackeryRSmith/tercontrol/blob/main/LICENSE)\n\u003c!--\nEnd of licence\n--\u003e\n\n\u003c!--\nStart of contact\n--\u003e\n## Contact \u003ca name=\"contact\" /\u003e\nContact me via email or discord\n- zackery.smith82307@gmail.com\n- Dumb Bird#8147\n\u003c!--\nEnd of contact\n--\u003e\n\n\u003c!--\nStart of thanks\n--\u003e\n## Thanks \u003ca name=\"thanks\"\u003e\n- **[anic17](https://github.com/anic17)** | Great help to the devlopment of TerControl, motivating me to constantaly work on this project!\n\nI would also like to thank the entirety of the [Program Dream](https://discord.gg/gfmaxgE) discord server for being a great place! Personally being active there gave me a new thing to do, I bet I'll be active on there a lot more so join! It's a non-toxic programming community and it's just a great place to be!\n\u003c!--\nEnd of thanks\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackeryrsmith%2Ftercontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackeryrsmith%2Ftercontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackeryrsmith%2Ftercontrol/lists"}