From cf2aef96e4ffb800655c975f012a239df0558ae4 Mon Sep 17 00:00:00 2001 From: Liam Galvin Date: Sun, 21 Oct 2018 15:11:10 +0100 Subject: [PATCH] rename --- .circleci/config.yml | 2 +- .gitignore | 2 +- README.md | 12 ++++++------ gui/gui.go | 8 ++++---- gui/mouse.go | 2 +- gui/renderer.go | 6 +++--- main.go | 11 +++++------ terminal/sgr.go | 2 +- terminal/terminal.go | 4 ++-- 9 files changed, 24 insertions(+), 25 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d62634f..0d1ada9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,7 @@ jobs: #### expecting it in the form of #### /go/src/github.com/circleci/go-tool #### /go/src/bitbucket.org/circleci/go-tool - working_directory: /go/src/github.com/liamg/raft + working_directory: /go/src/github.com/liamg/aminal steps: - checkout diff --git a/.gitignore b/.gitignore index 00dec11..3973f33 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -raft +aminal \ No newline at end of file diff --git a/README.md b/README.md index 4e40538..52af094 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ -# RAFT - Golang Terminal Emulator -[![CircleCI](https://circleci.com/gh/liamg/raft/tree/master.svg?style=svg)](https://circleci.com/gh/liamg/raft/tree/master) +# Aminal - Golang Terminal Emulator +[![CircleCI](https://circleci.com/gh/liamg/aminal/tree/master.svg?style=svg)](https://circleci.com/gh/liamg/aminal/tree/master) -Raft is a modern terminal emulator utilising OpenGL. So far the terminal is very much incomplete, but we're getting there! +Aminal is a modern terminal emulator utilising OpenGL. So far the terminal is very much incomplete, but we're getting there! ![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 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](https://github.com/liamg/raft/issues/2). +We're currently looking for a new name! Please add suggestions [here](https://github.com/liamg/aminal/issues/2). ## Aims @@ -80,7 +80,7 @@ We're currently looking for a new name! Please add suggestions [here](https://gi ## Configuration -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. +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. diff --git a/gui/gui.go b/gui/gui.go index be02f00..2d427e4 100644 --- a/gui/gui.go +++ b/gui/gui.go @@ -7,13 +7,13 @@ import ( "time" "github.com/gobuffalo/packr" - "github.com/liamg/raft/glfont" + "github.com/liamg/aminal/glfont" "github.com/go-gl/gl/all-core/gl" "github.com/go-gl/glfw/v3.3/glfw" - "github.com/liamg/raft/buffer" - "github.com/liamg/raft/config" - "github.com/liamg/raft/terminal" + "github.com/liamg/aminal/buffer" + "github.com/liamg/aminal/config" + "github.com/liamg/aminal/terminal" "go.uber.org/zap" ) diff --git a/gui/mouse.go b/gui/mouse.go index 8cc1a39..94b504f 100644 --- a/gui/mouse.go +++ b/gui/mouse.go @@ -5,7 +5,7 @@ import ( "math" "github.com/go-gl/glfw/v3.3/glfw" - "github.com/liamg/raft/terminal" + "github.com/liamg/aminal/terminal" ) func (gui *GUI) mouseButtonCallback(w *glfw.Window, button glfw.MouseButton, action glfw.Action, mod glfw.ModifierKey) { diff --git a/gui/renderer.go b/gui/renderer.go index b9c324a..3cdb9c2 100644 --- a/gui/renderer.go +++ b/gui/renderer.go @@ -4,9 +4,9 @@ import ( "math" "github.com/go-gl/gl/all-core/gl" - "github.com/liamg/raft/buffer" - "github.com/liamg/raft/config" - "github.com/liamg/raft/glfont" + "github.com/liamg/aminal/buffer" + "github.com/liamg/aminal/config" + "github.com/liamg/aminal/glfont" ) type OpenGLRenderer struct { diff --git a/main.go b/main.go index dca646a..0dca8aa 100644 --- a/main.go +++ b/main.go @@ -9,10 +9,10 @@ import ( "syscall" "github.com/kr/pty" + "github.com/liamg/aminal/config" + "github.com/liamg/aminal/gui" + "github.com/liamg/aminal/terminal" "github.com/riywo/loginshell" - "github.com/liamg/raft/config" - "github.com/liamg/raft/gui" - "github.com/liamg/raft/terminal" "go.uber.org/zap" ) @@ -41,8 +41,7 @@ func loadConfigFile() *config.Config { } places := []string{ - //fmt.Sprintf("%s/.config/raft.yml", home), - fmt.Sprintf("%s/.raft.toml", home), + fmt.Sprintf("%s/.aminal.toml", home), } for _, place := range places { @@ -58,7 +57,7 @@ func loadConfigFile() *config.Config { if b, err := config.DefaultConfig.Encode(); err != nil { fmt.Printf("Failed to encode config file: %s\n", err) } else { - if err := ioutil.WriteFile(fmt.Sprintf("%s/.raft.toml", home), b, 0644); err != nil { + if err := ioutil.WriteFile(fmt.Sprintf("%s/.aminal.toml", home), b, 0644); err != nil { fmt.Printf("Failed to encode config file: %s\n", err) } } diff --git a/terminal/sgr.go b/terminal/sgr.go index afb8683..e438062 100644 --- a/terminal/sgr.go +++ b/terminal/sgr.go @@ -3,7 +3,7 @@ package terminal import ( "fmt" - "github.com/liamg/raft/buffer" + "github.com/liamg/aminal/buffer" ) func sgrSequenceHandler(params []string, intermediate string, terminal *Terminal) error { diff --git a/terminal/terminal.go b/terminal/terminal.go index af988bf..c894196 100644 --- a/terminal/terminal.go +++ b/terminal/terminal.go @@ -10,8 +10,8 @@ import ( "syscall" "unsafe" - "github.com/liamg/raft/buffer" - "github.com/liamg/raft/config" + "github.com/liamg/aminal/buffer" + "github.com/liamg/aminal/config" "go.uber.org/zap" )