diff options
Diffstat (limited to 'internal/pacman')
-rw-r--r-- | internal/pacman/pacman.go | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/internal/pacman/pacman.go b/internal/pacman/pacman.go index cb663af..8972d12 100644 --- a/internal/pacman/pacman.go +++ b/internal/pacman/pacman.go @@ -40,9 +40,10 @@ func (p *Pacman) blink() { func (p *Pacman) drawInstruction() render.DrawInstruction { return render.DrawInstruction{ - X: int(p.x), - Y: int(p.y), - Content: p.Icon(), + X: int(p.x), + Y: int(p.y), + Content: p.Icon(), + Decorators: []string{"\033[38;2;250;249;8m"}, } } @@ -86,6 +87,10 @@ func (p *Pacman) Redirect(dir Direction) { func (p *Pacman) Icon() string { icns := map[Direction]map[bool]string{ + // UP: {true: "V", false: "v"}, + // DOWN: {true: "^", false: "A"}, + // RIGHT: {true: "{", false: "<"}, + // LEFT: {true: "}", false: ">"}, UP: {true: "", false: ""}, DOWN: {true: "", false: ""}, LEFT: {true: "", false: ""}, |