Skip to content

Commit

Permalink
Use color function
Browse files Browse the repository at this point in the history
  • Loading branch information
mkchoi212 committed Dec 29, 2017
1 parent b023acc commit e4d7bc3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions layout.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package main

import (
"fmt"

"github.com/jroimartin/gocui"
)

Expand Down Expand Up @@ -36,7 +34,7 @@ func layout(g *gocui.Gui) error {
return err
}
v.Frame = false
prompt := fmt.Sprintf("\033[3%d;%dm[a | d] >> \033[0m", 2, 1)
prompt := Green("[a | d] >>")
v.Write([]byte(prompt))
v.MoveCursor(11, 0, true)
}
Expand Down

0 comments on commit e4d7bc3

Please sign in to comment.