moving to github

This commit is contained in:
Liam Galvin 2018-10-17 10:34:10 +01:00
parent 8e5a9fb26d
commit 2207fc5744
11 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,7 @@
Raft is a modern terminal emulator utilising OpenGL. Raft is a modern terminal emulator utilising OpenGL.
![Example screenshot](demo.png)
The project is experimental at the moment, so you probably won't want to rely on Raft as your main terminal for a while. The project is experimental at the moment, so you probably won't want to rely on Raft as your main terminal for a while.
Ensure you have your latest graphics card drivers installed before use. Ensure you have your latest graphics card drivers installed before use.
@ -20,7 +22,7 @@ Ensure you have your latest graphics card drivers installed before use.
## What isn't supported? ## What isn't supported?
- Suspend/Continue (\^S, \^Q). This is archaic bullshit that annoys more people than it helps. Basically:q - Suspend/Continue (\^S, \^Q). This is archaic bullshit that annoys more people than it helps. Basically:
<span style="display:block;text-align:center"> <span style="display:block;text-align:center">
![Overheating](https://imgs.xkcd.com/comics/workflow.png) ![Overheating](https://imgs.xkcd.com/comics/workflow.png)
@ -73,7 +75,7 @@ Ensure you have your latest graphics card drivers installed before use.
Raft looks for a config file in `~/.raft.toml`, and will write one there the first time it runs, if it doesn't already exist. Raft looks for a config file in `~/.raft.toml`, and will write one there the first time it runs, if it doesn't already exist.
You can ignore the config and use defauls by specifying `--ignore-config` as a CLI flag. You can ignore the config and use defaults by specifying `--ignore-config` as a CLI flag.
### Config Options/CLI Flags ### Config Options/CLI Flags

BIN
demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -122,7 +122,6 @@ func (gui *GUI) Render() error {
gui.logger.Debugf("Loading font...") gui.logger.Debugf("Loading font...")
if err := gui.loadFont("./fonts/Hack-Regular.ttf"); err != nil { if err := gui.loadFont("./fonts/Hack-Regular.ttf"); err != nil {
//if err := gui.loadFont("./fonts/envypn-15.ttf"); err != nil {
return fmt.Errorf("Failed to load font: %s", err) return fmt.Errorf("Failed to load font: %s", err)
} }

View File

@ -104,7 +104,7 @@ func main() {
shellStr, err := loginshell.Shell() shellStr, err := loginshell.Shell()
if err != nil { if err != nil {
panic(fmt.Errorf("Failed to ascertain your shell: %s", err)) logger.Fatalf("Failed to ascertain your shell: %s", err)
} }
shell := exec.Command(shellStr) shell := exec.Command(shellStr)
@ -114,7 +114,7 @@ func main() {
shell.SysProcAttr = &syscall.SysProcAttr{Setctty: true, Setsid: true} shell.SysProcAttr = &syscall.SysProcAttr{Setctty: true, Setsid: true}
if err := shell.Start(); err != nil { if err := shell.Start(); err != nil {
pty.Close() pty.Close()
panic(err) logger.Fatalf("Failed to start your shell: %s", err)
} }
logger.Infof("Creating terminal...") logger.Infof("Creating terminal...")