Commit Graph

16 Commits

Author SHA1 Message Date
EdJoPaTo
fdd2c5436a feat!: cache last tree structure to simplify events
Things like key up/down dont require the items anymore to be used.
Instead a cached last state from last render is used.
2024-05-15 12:49:37 +02:00
EdJoPaTo
a60eb5266b refactor: simplify docs and LSP hints with names exactly as exported 2024-03-14 11:55:10 +01:00
EdJoPaTo
86458ffc39 perf: prefer into_iter() over clone() 2024-02-24 03:09:58 +01:00
EdJoPaTo
ec359d513b refactor: use multi character variable name 2024-02-22 18:38:52 +01:00
EdJoPaTo
766d4f1d58 refactor: one struct per file 2024-02-22 18:32:35 +01:00
EdJoPaTo
d1a241266f perf!: flatten -> TreeState::flatten
This allows to use internals without cloning

BREAKING CHANGE: flatten is not directly available anymore
2024-01-15 15:50:06 +01:00
EdJoPaTo
b914819283 feat: generic identifier (#27) 2023-10-30 13:18:58 +01:00
EdJoPaTo
58a80b64a7 docs: improve doc comments 2023-10-26 16:46:50 +02:00
EdJoPaTo
3f30effd19 feat: migrate to ratatui (#26)
Co-authored-by: Ben PHL <benphawke@gmail.com>
2023-09-04 12:44:30 +02:00
EdJoPaTo
8a53caced7 refactor(lint): improve and adapt to lints 2023-05-22 11:50:52 +02:00
EdJoPaTo
a902bce55d docs: use doc comments and doc tests 2022-11-06 13:48:49 +01:00
EdJoPaTo
15fbc26617 refactor(clippy): adapt to new lints 2021-05-13 09:24:54 +02:00
EdJoPaTo
45083fc332 refactor: prefer turbofish 2021-05-13 09:18:42 +02:00
EdJoPaTo
e3ac2554c3 refactor: let rust elide lifetimes 2020-12-31 17:55:44 +01:00
EdJoPaTo
5265bf1d1e fix: use getter for all_opened
dont allow access to struct field
2020-10-31 21:31:54 +01:00
EdJoPaTo
b539806734 Initial commit 2020-10-30 16:30:07 +01:00