event on resize
This commit is contained in:
parent
91e7f31bac
commit
64a018044c
|
@ -35,7 +35,9 @@
|
|||
eventSource.onmessage = (event) => {
|
||||
term.writeln(event.data)
|
||||
};
|
||||
|
||||
addEventListener("resize", (event) => {
|
||||
fitAddon.fit()
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endif %}
|
||||
|
|
6
test.py
6
test.py
|
@ -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())
|
Loading…
Reference in New Issue