Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: minor update #71

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading