Skip to content

perf(tui): simplify state magagement of various components#457

Merged
AnthonyMichaelTDM merged 2 commits intoscroll-inputboxfrom
fewer-synchro
Feb 5, 2026
Merged

perf(tui): simplify state magagement of various components#457
AnthonyMichaelTDM merged 2 commits intoscroll-inputboxfrom
fewer-synchro

Conversation

@AnthonyMichaelTDM
Copy link
Owner

No description provided.

this will enable us to remove mutex's and refcells around component state
- Removed unnecessary use of Mutex and RefCell for tree states and input boxes in various components.
- Updated the handling of key events and mouse events to directly interact with the state without locking.
- Simplified the initialization of input boxes and tree states by removing RefCell and Mutex wrappers.
- Improved readability and performance by reducing the complexity of state access patterns.
@AnthonyMichaelTDM AnthonyMichaelTDM changed the title Fewer synchro perf(tui): simplify state magagement of various components Feb 5, 2026
@AnthonyMichaelTDM AnthonyMichaelTDM marked this pull request as ready for review February 5, 2026 06:09
@AnthonyMichaelTDM AnthonyMichaelTDM merged commit c4ac7cd into scroll-inputbox Feb 5, 2026
5 checks passed
@AnthonyMichaelTDM AnthonyMichaelTDM deleted the fewer-synchro branch February 5, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant