Skip to content

Commit

Permalink
chore: minor update (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad authored Apr 24, 2024
1 parent 77873d9 commit eefd855
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

use afrim::{run, Config as ClafricaConfig};
use afrim::{run, Config as AfrimConfig};
use afrim_wish::{Config as WishConfig, Wish};
use clap::Parser;

Expand All @@ -27,7 +27,7 @@ fn main() {

let wish = Wish::from_config(wish_conf);

let clafrica_conf = ClafricaConfig::from_file(&args.config_file)
let afrim_conf = AfrimConfig::from_file(&args.config_file)
.map_err(|err| {
Wish::raise_error("Problem parsing config file", &err);
})
Expand All @@ -38,7 +38,7 @@ fn main() {
Wish::kill();
}

if let Err(err) = run(clafrica_conf, wish) {
if let Err(err) = run(afrim_conf, wish) {
Wish::raise_error("Application error", &err);
}
}
2 changes: 1 addition & 1 deletion src/window/tooltip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl ToolTip {

// Cursor
let cursor_widget = rstk::make_label(window);
cursor_widget.text("Type _exit_ to end the clafrica");
cursor_widget.text("Afrim is ready for input!");
cursor_widget.style(&self.themes["PHLabel"]);
cursor_widget.pack().fill(PackFill::X).layout();
self.cursor_widget = Some(cursor_widget);
Expand Down

0 comments on commit eefd855

Please sign in to comment.