Skip to content

Commit

Permalink
fix: remove unnecessary string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Jed Williamson committed Mar 10, 2023
1 parent e34932b commit 7620e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asciify/asciify.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"gocv.io/x/gocv"
)

// var ascii_symbols = []rune(string(".:-~=+*#%@"))
var ascii_symbols = []rune(string(".,;!vlLFE$"))
// var ascii_symbols = []rune(".:-~=+*#%@")
var ascii_symbols = []rune(".,;!vlLFE$")

func Asciify(cam *utils.Camera, frame *gocv.Mat, canvas tcell.Screen, settings *utils.Settings) {
defstyle := tcell.StyleDefault.
Expand Down

0 comments on commit 7620e17

Please sign in to comment.