aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index aead1fd..9a5a69b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -40,6 +40,7 @@ struct Args {
enum AppEvent {
Key(KeyEvent),
Irc(IrcEvent),
+ Resize,
}
#[tokio::main]
@@ -108,6 +109,11 @@ async fn run(
break;
}
}
+ Some(Ok(Event::Resize(_, _))) => {
+ if kb_tx.send(AppEvent::Resize).is_err() {
+ break;
+ }
+ }
None => break,
_ => {}
}
@@ -130,7 +136,7 @@ async fn run(
// neither blocks the other.
// Main loop: sleeps until an event arrives, redraws only on state change
while let Some(event) = rx.recv().await {
- let mut dirty = true; // set false for events that don't change visible state
+ let mut dirty = true;
match event {
AppEvent::Key(key) => {
@@ -170,6 +176,8 @@ async fn run(
}
handle_irc_event(irc_event, &mut app);
}
+
+ AppEvent::Resize => {} // just needs to be handled so dirty is true
}
if dirty {
3046&follow=1'>make was improperly being called inside the container on a project that is ↵Gravatar Andrew D. France 2-5/+9 missing its dependencies in the lib/ directory, leading to a 'No rule to make target' error: updated Dockerfile to remove the submodule command at: ln:29: and: Jenkinsfile will use the git submodule sync command. This will ensure the agent's repository is correctly configured before fetching the submodule code: at: ln:9-17 2025-07-23Attempt to patch CI pipeline: Dockerfile will now be selfcontained, and ↵Gravatar Andrew D. France 2-32/+43 thus, will init .gitmodules: ln:10 removed from original Jenkinsfile 2025-07-23CRITICAL ISSUE: Deleting lib/ files has introduced the issue of actually ↵Gravatar Andrew D. France 1-38/+25 automating the module initialization via jenkins: DEBUG VERSION: Jenkinsfile 2025-07-23CRITICAL FOR TESTING: This copies the entire Jenkins workspace (including ↵Gravatar Andrew D. France 2-9/+7 the populated lib/ directory from the submodules) into the running container, ensuring all the required source files are available for the build process.