diff --git a/README.md b/README.md index cd0f1f5..71c21e2 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,5 @@ This includes a decent variety of terminals, but I have personally confirmed goo ### ssh -Because bevy is being used here in a somewhat unconventional way, currently bevy will still look for a -windowing system even though a window is never created. This means that there are issues when a window -server is not available, for example when running this over SSH. I am investigating a fix, perhaps through -disabling a default bevy feature. +I have recently added a change that has allowed me to run the screensavers over SSH. This is not very well +tested however, so please open an issue if you run into problems! diff --git a/src/lib.rs b/src/lib.rs index 0efaed7..ad903d1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,9 @@ use std::time::Duration; -use bevy::{app::ScheduleRunnerPlugin, log::LogPlugin, prelude::*, window::ExitCondition}; +use bevy::{ + app::ScheduleRunnerPlugin, log::LogPlugin, prelude::*, window::ExitCondition, + winit::WinitPlugin, +}; use bevy_ratatui::RatatuiPlugins; use bevy_ratatui_render::RatatuiRenderPlugin; use logo::LogoPath; @@ -29,6 +32,7 @@ impl Plugin for AppPlugin { exit_condition: ExitCondition::DontExit, close_when_requested: false, }) + .disable::() .disable::(), ScheduleRunnerPlugin::run_loop(Duration::from_secs_f64(1. / 60.)), RatatuiPlugins::default(),