~ecs/public-inbox

toggle fullscreen with f v1 APPLIED

Evan Johnston: 1
 toggle fullscreen with f

 1 files changed, 3 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ecs/public-inbox/patches/48053/mbox | git am -3
Learn more about email & git

[PATCH] toggle fullscreen with f Export this patch

---
 main.ha | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/main.ha b/main.ha
index 0af09a9..cda0dc2 100644
--- a/main.ha
+++ b/main.ha
@@ -154,6 +154,9 @@ export fn main() void = {
		if (raylib::IsKeyPressed(raylib::KeyboardKey::KEY_ESCAPE)) {
			timer_state.state = state::IDLE;
		};
		if (raylib::IsKeyPressed(raylib::KeyboardKey::KEY_F)) {
			raylib::ToggleFullscreen();
		};
		raylib::BeginDrawing();
		raylib::ClearBackground(raylib::BLACK);
		render_state(timer_state);
-- 
2.37.1
Fix your esc patch first
Thanks!

To git@git.d2evs.net:~ecs/ecstimer
   3a06970..739869c  master -> master

Doesn't work for me but whatever