Go to file
Liam Galvin 5f13e596db
Create PULL_REQUEST_TEMPLATE.md
2018-10-21 15:57:21 +01:00
.circleci rename 2018-10-21 15:11:10 +01:00
.github/ISSUE_TEMPLATE Update issue templates 2018-10-21 15:38:40 +01:00
buffer remove comments/debug 2018-10-21 13:30:32 +01:00
config cursor basics 2018-08-09 17:52:34 +01:00
demo more scape codes 2018-07-04 17:39:50 +01:00
glfont remove comments/debug 2018-10-21 13:30:32 +01:00
gui rename 2018-10-21 15:11:10 +01:00
pty switch to nice pty library 2018-08-13 17:48:37 +01:00
terminal rename 2018-10-21 15:11:10 +01:00
vendor package default font into the binary 2018-10-21 13:13:29 +01:00
.gitignore rename 2018-10-21 15:11:10 +01:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-10-21 15:41:47 +01:00
CONTRIBUTING.md Create CONTRIBUTING.md 2018-10-21 15:54:31 +01:00
Gopkg.lock package default font into the binary 2018-10-21 13:12:41 +01:00
Gopkg.toml switch to glfw beta 3.3 to avoid X11 joystick issue 2018-10-21 11:46:40 +01:00
LICENSE Create LICENSE 2018-10-21 11:54:58 +01:00
PULL_REQUEST_TEMPLATE.md Create PULL_REQUEST_TEMPLATE.md 2018-10-21 15:57:21 +01:00
README.md rename 2018-10-21 15:11:10 +01:00
demo.png moving to github 2018-10-17 10:34:10 +01:00
main.go rename 2018-10-21 15:11:10 +01:00

README.md

Aminal - Golang Terminal Emulator

CircleCI

Aminal is a modern terminal emulator utilising OpenGL. So far the terminal is very much incomplete, but we're getting there!

Example screenshot

The project is experimental at the moment, so you probably won't want to rely on Aminal as your main terminal for a while.

Ensure you have your latest graphics card drivers installed before use.

Help Rename This Project!

We're currently looking for a new name! Please add suggestions here.

Aims

  • Full unicode support
  • OpenGL rendering
  • Full customisation options
  • True colour support
  • Support for commmon ANSI escape sequences a la xterm
  • Scrollback buffer
  • Clipboard access
  • Clickable URLs
  • Resize logic that wraps/unwraps lines correctly
  • Bullshit graphical effects
  • Multi platform support

What isn't supported?

  • Suspend/Continue (^S, ^Q). This is archaic bullshit that annoys more people than it helps. Basically:

Overheating

Build Dependencies

  • Go 1.10.3+
  • On macOS, you need Xcode or Command Line Tools for Xcode (xcode-select --install) for required headers and libraries.
  • On Ubuntu/Debian-like Linux distributions, you need libgl1-mesa-dev xorg-dev.
  • On CentOS/Fedora-like Linux distributions, you need libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel mesa-libGL-devel libXi-devel.

Platform Support

Platform Supported
Linux
MacOSX
Windows

Planned Features

Feature Done Notes
Pty allocation Needs work for OSX + Windows
OpenGL rendering
Resizing/content reordering
ANSI escape codes Most of these are handled now
UTF-8 input
UTF-8 output Works as long as the font in use supports the relevant characters.
Copy/paste Paste working, no mouse interaction for copy
Customisable colour schemes Complete, but the config file has no entry for this yet
Config file Minimal options atm
Scrolling Infinite buffer implemented, need GUI scrollbar & render updates
Mouse interaction
Sweet render effects

Keyboard Shortcuts

Operation Key(s)
Paste ctrl + shift + v
Toggle slomo ctrl + shift + ;
Interrupt (SIGINT) ctrl + c

Configuration

Aminal looks for a config file in ~/.aminal.toml, and will write one there the first time it runs, if it doesn't already exist.

You can ignore the config and use defaults by specifying --ignore-config as a CLI flag.

Config Options/CLI Flags

CLI Flag Config Section Config Name Type Default Description
--debug root debug boolean false Enable debug mode, with debug logging and debug info terminal overlay.
--slomo root slomo boolean false Enable slomo mode, delay the handling of each incoming byte (or escape sequence) from the pty by 100ms. Useful for debugging.
--always-repaint rendering always_repaint boolean false Redraw the terminal GUI constantly, even when no changes have occurred.