improve window render, malvim draft, fixes
This commit is contained in:
@@ -4,7 +4,6 @@ use bmp_rust::bmp::BMP;
|
||||
|
||||
pub fn get_font_char(dir: &str, c: char) -> Option<(char, Vec<Vec<u8>>, u8)> {
|
||||
let c = if c == '/' { '𐘋' } else { c };
|
||||
let mut font: Vec<(char, Vec<Vec<u8>>, u8)> = Vec::new();
|
||||
for entry in read_dir(dir).unwrap() {
|
||||
let path = entry.unwrap().path();
|
||||
let path_chars: Vec<char> = path.file_name().unwrap().to_str().unwrap().to_string().chars().collect();
|
||||
|
||||
Reference in New Issue
Block a user