From 64a018044c264ca0712eeafad78af5eb53410e18 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 28 Feb 2024 14:26:25 +0100 Subject: [PATCH] event on resize --- Flask/templates/vnc_post.html | 4 +++- test.py | 6 ------ version | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 test.py diff --git a/Flask/templates/vnc_post.html b/Flask/templates/vnc_post.html index 5673ba1..5bd64e7 100644 --- a/Flask/templates/vnc_post.html +++ b/Flask/templates/vnc_post.html @@ -35,7 +35,9 @@ eventSource.onmessage = (event) => { term.writeln(event.data) }; - + addEventListener("resize", (event) => { + fitAddon.fit() + }); {% endif %} diff --git a/test.py b/test.py deleted file mode 100644 index e9829a0..0000000 --- a/test.py +++ /dev/null @@ -1,6 +0,0 @@ -from modules.Classes.WordList import WordList - -w = WordList("/usr/share/dict/french") - -for i in range(100): - print(w.get_word()) diff --git a/version b/version index 32c6f45..b5f9e06 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.8.33 +v6.8.34