The impress library uses a separate application to low-level drawing.
The main GUI application contains pure Go code. There is not any low-level library required to build the main application. The impress terminal is running in parallel. Impress terminal was written in C and used the GTK library. Named pipes are used to communicate between the main application and impress terminal.
Impress terminal started and stopped by main application. By default, executable impress terminal binary launched from main application directory or working directory. The environment variable IMPRESS_TERMINAL_PATH may be used to specify full pathname to impress terminal binary.
Pros:
Cons:
You can download
the compiled binary it file or make it again from the source.
Install gcc, make, pkg-config if you don't have them installed.
You should install GTK and packages that depend on GTK. On Debian/ Ubuntu you can run:
sudo apt-get install libgtk-4-dev
git clone https://github.com/codeation/it.git
cd it/four
make
cd ../..
go, pkg-config if you don't have installed.To install pkg-config run:
brew install pkg-config
brew install gtk4
git clone https://github.com/codeation/it.git
cd it/four
make
cd ../..
You can download the compiled binary it file on the "releases" page.
To use the GTK 4 impress terminal you need to install the GTK 4 dynamic libraries or libgtk-4-dev package.
Feel free to open issue