Use unicode block for rendering of string qr

This commit is contained in:
Jovansonlee Cesar 2017-07-18 15:21:58 +08:00
parent 6cbc50bb38
commit 1904e57746

View file

@ -11,7 +11,7 @@ pub trait Element: Copy {
impl Element for char { impl Element for char {
fn default_color(color: Color) -> Self { fn default_color(color: Color) -> Self {
color.select('#', ' ') color.select('', ' ')
} }
fn strlen(self) -> usize { fn strlen(self) -> usize {
@ -25,7 +25,7 @@ impl Element for char {
impl<'a> Element for &'a str { impl<'a> Element for &'a str {
fn default_color(color: Color) -> Self { fn default_color(color: Color) -> Self {
color.select("#", " ") color.select("", " ")
} }
fn strlen(self) -> usize { fn strlen(self) -> usize {