A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 2d8d076..6b7f05b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -117,7 +117,6 @@ impl Hist {
(x.cursor, x.column, x.vo),
],
});
-
println!("push {}", self.history.last().unwrap());
self.redo_history.clear();
self.last = x.clone();
@@ -1500,14 +1499,14 @@ fn handle(key: Key, mut text: TextArea) -> TextArea {
}
pub static FONT: LazyLock<FontRef<'static>> = LazyLock::new(|| {
FontRef::from_index(
- &include_bytes!("/home/os/CascadiaCodeNF.ttf")[..],
+ &include_bytes!("../CascadiaCodeNF.ttf")[..],
0,
)
.unwrap()
});
pub static IFONT: LazyLock<FontRef<'static>> = LazyLock::new(|| {
FontRef::from_index(
- &include_bytes!("/home/os/CascadiaCodeNFItalic.ttf")[..],
+ &include_bytes!("../CascadiaCodeNFItalic.ttf")[..],
0,
)
.unwrap()