mirror of https://github.com/liamg/aminal.git
moving to github
This commit is contained in:
parent
8e5a9fb26d
commit
2207fc5744
|
@ -1,5 +1,7 @@
|
||||||
Raft is a modern terminal emulator utilising OpenGL.
|
Raft is a modern terminal emulator utilising OpenGL.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
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">
|
||||||

|

|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
fonts/Roboto.ttf
BIN
fonts/Roboto.ttf
Binary file not shown.
Binary file not shown.
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
main.go
4
main.go
|
@ -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...")
|
||||||
|
|
Loading…
Reference in New Issue