fixing edge cases in install.sh

This commit is contained in:
Able 2021-06-03 05:32:43 -05:00
parent cc3b0c0e7b
commit d0c1a185bc
3 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,4 @@
cargo build --release cargo build --release
sudo mv target/release/able-editor /bin sudo mv target/release/able-editor /bin
sudo rm /bin/ae
sudo ln -s /bin/able-editor /bin/ae sudo ln -s /bin/able-editor /bin/ae

View file

@ -41,9 +41,7 @@ impl App {
pub fn new(args: Vec<String>) -> Self { pub fn new(args: Vec<String>) -> Self {
let app = app::App::default().with_scheme(app::Scheme::Gtk); let app = app::App::default().with_scheme(app::Scheme::Gtk);
app::background(0, 0, 0); app::background(0, 0, 0);
app::foreground(255, 255, 255); app::foreground(255, 255, 255);
app::set_frame_type(fltk::enums::FrameType::NoBox); app::set_frame_type(fltk::enums::FrameType::NoBox);
let (s, r) = app::channel::<Message>(); let (s, r) = app::channel::<Message>();

View file

@ -16,6 +16,7 @@ impl Menu {
menu.set_text_color(Color::White); menu.set_text_color(Color::White);
menu.set_color(Color::Black); menu.set_color(Color::Black);
menu.add_emit( menu.add_emit(
"&File/New...\t", "&File/New...\t",
Shortcut::Ctrl | 'n', Shortcut::Ctrl | 'n',