diff --git a/README.md b/README.md index c7fae97..cd9c7ff 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ 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. 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? -- 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: ![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. -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 diff --git a/demo.png b/demo.png new file mode 100644 index 0000000..c61a7ba Binary files /dev/null and b/demo.png differ diff --git a/fonts/DejaVuSansMono.ttf b/fonts/DejaVuSansMono.ttf deleted file mode 100644 index f578602..0000000 Binary files a/fonts/DejaVuSansMono.ttf and /dev/null differ diff --git a/fonts/FSEX300.ttf b/fonts/FSEX300.ttf deleted file mode 100644 index a4f177c..0000000 Binary files a/fonts/FSEX300.ttf and /dev/null differ diff --git a/fonts/Hack-Bold.ttf b/fonts/Hack-Bold.ttf deleted file mode 100644 index 7ff4975..0000000 Binary files a/fonts/Hack-Bold.ttf and /dev/null differ diff --git a/fonts/Hack-BoldItalic.ttf b/fonts/Hack-BoldItalic.ttf deleted file mode 100644 index 3b137d9..0000000 Binary files a/fonts/Hack-BoldItalic.ttf and /dev/null differ diff --git a/fonts/Hack-Italic.ttf b/fonts/Hack-Italic.ttf deleted file mode 100644 index d26198a..0000000 Binary files a/fonts/Hack-Italic.ttf and /dev/null differ diff --git a/fonts/Roboto.ttf b/fonts/Roboto.ttf deleted file mode 100644 index 22f776f..0000000 Binary files a/fonts/Roboto.ttf and /dev/null differ diff --git a/fonts/envypn-15.ttf b/fonts/envypn-15.ttf deleted file mode 100644 index 984850d..0000000 Binary files a/fonts/envypn-15.ttf and /dev/null differ diff --git a/gui/gui.go b/gui/gui.go index 189f736..e56ae99 100644 --- a/gui/gui.go +++ b/gui/gui.go @@ -122,7 +122,6 @@ func (gui *GUI) Render() error { gui.logger.Debugf("Loading font...") 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) } diff --git a/main.go b/main.go index 6aaed27..f5db5e6 100644 --- a/main.go +++ b/main.go @@ -104,7 +104,7 @@ func main() { shellStr, err := loginshell.Shell() 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) @@ -114,7 +114,7 @@ func main() { shell.SysProcAttr = &syscall.SysProcAttr{Setctty: true, Setsid: true} if err := shell.Start(); err != nil { pty.Close() - panic(err) + logger.Fatalf("Failed to start your shell: %s", err) } logger.Infof("Creating terminal...")