Repository navigation
Feat/taffy layout engine - #4
Merged
Merged
Conversation
Render loop now only rebuilds, lays out, and redraws when the graph is dirty, the terminal resized, or the app hot-reloaded; idle frames block in tui_wait_event instead of busy-looping. Engine is now policy-free: crossterm events translate to structured EventData (keys keep case and symbols, mouse, resize) and surface policy (Ctrl+C, Tab focus, Enter/Space activate, app-level key bindings) moves into Python. Layout crosses the FFI once as a LayoutSnapshot handle, not per-rect dicts. Widgets: Dropdown, Slider, and TextField are keyboard-operable and themed; Row/Column accept on_key/on_focus/on_click; App.request_quit() and root-node on_key provide app-level bindings. Mouse clicks hit-test with scroll-offset awareness. Also: pump_workers() auto-collects finished workers, shared _reload.re_execute_module, py.typed packaging, and the manual verify_composition.py folded into pytest.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.