EdJoPaTo
a20134bdcd
feat(example): debounce, top right corner performance info and update on resize
2024-05-15 13:51:54 +02:00
EdJoPaTo
202e8d874c
style: split import groups correctly
2024-05-15 13:51:54 +02:00
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
ed9a54a55a
feat(state)!: return true when something changed
2024-02-26 19:09:57 +01:00
EdJoPaTo
0a5c7d6cfb
refactor(example): move draw to App::draw
2024-02-26 18:09:26 +01:00
EdJoPaTo
15f05be46c
fix: do not move offset on unselect
2024-02-26 18:05:17 +01:00
EdJoPaTo
83dd95b87f
fix(scrollbar): calculate area margin from inside and outside of border areas
2024-02-24 18:39:34 +01:00
EdJoPaTo
9a0b26f5c9
refactor(scrollbar): use variable names over unnamed pair content
2024-02-24 11:21:48 +01:00
EdJoPaTo
49bfa7e5f0
refactor(example): restructure import / use
2024-02-24 11:18:09 +01:00
EdJoPaTo
b31a599a37
refactor(scrollbar): experimental prefix over feature
...
A feature flag has quite some complexity with it and is annyoing.
Write a rustdoc comment about it and be clear about it being experimental and include it as is.
2024-02-24 11:08:30 +01:00
EdJoPaTo
ce3b2b530e
fix(scrollbar): change margin to individual start/end
2024-02-24 03:09:58 +01:00
EdJoPaTo
ed9d91f58c
fix(example): show state in bottom title
2024-02-22 19:41:23 +01:00
EdJoPaTo
92466615b1
feat: support for a scrollbar
2024-02-22 19:20:27 +01:00
EdJoPaTo
27cf513eeb
feat(example): add more items
...
longer tree to play with
2024-02-22 19:05:31 +01:00
EdJoPaTo
ec359d513b
refactor: use multi character variable name
2024-02-22 18:38:52 +01:00
EdJoPaTo
01726df5ed
feat: scroll independently from selection
2024-02-03 02:24:44 +01:00
EdJoPaTo
14b9e42cb2
refactor(example): merge into single file
2024-02-03 02:15:36 +01:00
EdJoPaTo
4cbe932332
build: update to ratatui 0.26
2024-02-03 01:05:47 +01:00
EdJoPaTo
b914819283
feat: generic identifier ( #27 )
2023-10-30 13:18:58 +01:00
EdJoPaTo
0d9d132a67
perf: use more const functions
...
This will run on compile time rather than every time on runtime.
2023-09-04 14:17:35 +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
1b601ea06b
build: bump msrv to 1.60.0
...
the log crates requires this after Debian 12/bookworm released
2023-07-08 11:28:17 +02:00
EdJoPaTo
b01956741b
feat: implement TreeState select first/last
2022-08-31 18:28:11 +02:00
EdJoPaTo
c0e4967b88
feat: implement TreeState arrow key methods
2022-08-31 14:49:32 +02:00
EdJoPaTo
63a5fa06f9
feat: toggle with identifier
...
BREAKING CHANGE: toggle now requires identifier
2022-08-31 14:21:53 +02:00
EdJoPaTo
677c43c074
refactor(example): migrate to crossterm
2022-04-28 01:25:47 +02:00
Nicholas Roller
7ff37c6227
feat: Adding toggle ( #8 )
...
* feat: Adding toggle
* Update src/lib.rs
Return unneded
Co-authored-by: EdJoPaTo <github@edjopato.de >
Co-authored-by: EdJoPaTo <github@edjopato.de >
2022-02-06 21:13:29 +01:00
EdJoPaTo
f0bbd09603
refactor: export as flat hierarchy
...
BREAKING CHANGE: no more exported modules.
Everything is on the main export now.
2021-10-24 03:38:00 +02:00
EdJoPaTo
15fbc26617
refactor(clippy): adapt to new lints
2021-05-13 09:24:54 +02:00
EdJoPaTo
cf31797e86
refactor: impl method returns Self
2021-04-01 09:05:05 +02: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