add reamde

This commit is contained in:
lda committed 2025-07-03 18:26:57 +07:00
1 parent a4cafc0ef9
commit 75b2eaff1f
2 files changed
+16

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# this shit is pure ass
istg THIS out of all things is what i agree to do? this code is ASS.
## what
elm. the Elm arch. it is just view update model, which is function function struct.
in this example there is also a read event function that read events.
**HOW THE FUCK EVER**: this is one function doing the entire applications stuff. you dont do that.
(thats why component arch is still very big)
this is jus my understanding of this bullshit, is all.
+2
View File
@@ -1,3 +1,5 @@
#![allow(clippy::unreachable, unreachable_code, unreachable_patterns)]
use crossterm::event::{
self, Event, KeyCode, KeyEvent, KeyEventKind, KeyModifiers, MouseEvent, MouseEventKind,
};