itlog

module
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: MIT

README

Cgo impress terminal

This is a part of cross-platform GUI Library for Go. See https://github.com/codeation/impress

The Cgo terminal is a Go version of the impress terminal with minimal C code (GTK-3 library, etc.).

Reasons to have a version of Cgo besides the C version:

  • Clean logic of using GTK-3.
  • A place to inject high-level code on the terminal side for debugging or benchmarking.
To run this example on Debian/ Ubuntu:
  1. Install gcc, make, pkg-config if you don't have them installed.

  2. Install GTK+ 3 libraries if you don't have them installed:

sudo apt-get install libgtk-3-dev
  1. Build impress terminal from source:
git clone https://github.com/codeation/itlog.git
cd it
go build -o it-log ./cmd
cd ..
  1. Then run example:
git clone https://github.com/codeation/impress.git
cd impress
IMPRESS_TERMINAL_PATH=../itlog/it-log go run ./examples/simple/

Steps 0-2 are needed to build a Cgo version of impress terminal.

Project State

Notes
  • This project is still in the early stages of development and is not yet in a usable state.
  • The project tested on Debian 12.5

Directories

Path Synopsis
Package implements an internal mechanism to communicate with an impress terminal.
Package implements an internal mechanism to communicate with an impress terminal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL