Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plos-clan/libos-terminal
C binding of os-terminal crate.
https://github.com/plos-clan/libos-terminal
cross-platform embedded ffi i686 terminal x86-64
Last synced: about 2 months ago
JSON representation
C binding of os-terminal crate.
- Host: GitHub
- URL: https://github.com/plos-clan/libos-terminal
- Owner: plos-clan
- License: mit
- Created: 2024-10-19T03:32:51.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T06:56:20.000Z (2 months ago)
- Last Synced: 2024-11-02T07:25:12.765Z (2 months ago)
- Topics: cross-platform, embedded, ffi, i686, terminal, x86-64
- Language: Rust
- Homepage:
- Size: 4.04 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libos-terminal
C binding of `os-terminal` crate for x86 or x86_64 OS that not written in Rust!
## Usage
Download the header file and your prefered version of lib from [releases](https://github.com/plos-clan/libos-terminal/releases/tag/release).
Link the library to your project.
Remember to set `TERMINAL_EMBEDDED_FONT` to your compiler based on the version of the lib you are using.
## Build
Build directly to get the two target files:
```bash
cargo build --release
```The production build will be in `target/release//` directory.
And use `cbindgen` to generate the header file:
```bash
cargo install cbindgen
cbindgen --output os_terminal.h
```