Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split support #691

Draft
wants to merge 55 commits into
base: main
Choose a base branch
from
Draft

Split support #691

wants to merge 55 commits into from

Conversation

raphamorim
Copy link
Owner

@raphamorim raphamorim commented Sep 28, 2024

This PR introduces split and also a major rewrite of the renderer to increase performance by avoiding redundancy in render operations.

TODO:

  • Each rich should respect it's own pos
  • Each rich text have it's own layout
  • Erase line
  • Replace line content
  • Move terminal content to context level
  • Replace Context with GridContext
  • Fix issue whenever dpi changes
  • IME/Cursor should be rendered based on it's own context
  • Fix cursor shape update through configuration
  • Add SplitRight
  • Add SplitDown
  • Add SelectNextSplit
  • Add SelectPrevSplit
  • Add CloseSplitOrTab
  • Add resize support
  • Selection isn't working correctly
  • Add key bindings for Linux/Windows
  • Update docs regarding actions

Will move to a different PR

  • Add SplitHighlight (all other panels get lower opacity)
  • Add SplitFocus (hide all other panels and increase current one)

Sugarloaf example

Screenshot 2024-10-05 at 16 06 37 Screenshot 2024-10-08 at 19 37 30

Ref #184

@raphamorim raphamorim changed the title allow render multiple rich text Split support Sep 28, 2024
@raphamorim
Copy link
Owner Author

Resize for reference
Screenshot 2024-10-12 at 21 35 48

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