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

TUI (no nottui) #8430

Closed
wants to merge 12 commits into from
Closed

TUI (no nottui) #8430

wants to merge 12 commits into from

Commits on Aug 19, 2023

  1. stdune: add Float.min

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    36b96f2 View commit details
    Browse the repository at this point in the history
  2. stdune: add Int.{max,min}

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    e8a6a31 View commit details
    Browse the repository at this point in the history
  3. tui: refactor api and handle keypresses in ruidimentary way

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    109c472 View commit details
    Browse the repository at this point in the history
  4. tui: add error message separator with counter

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    0adaccd View commit details
    Browse the repository at this point in the history
  5. tui: add scroll bars, help screen and debug info

    The help screen can be toggled on and off.
    
    The scroll bars appear when the main text is cut off in the horizontal
    or vertical directions. They can be interacted with using the arrow
    keys, j and k and using the mouse. The mouse can scroll and click on
    them.
    
    Added a utility to provide debug info, which can be useful determining
    the state of the UI. It can be activated using 'd'.
    
    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    aed8533 View commit details
    Browse the repository at this point in the history
  6. tui: fix message divider for short messages

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    5d1cead View commit details
    Browse the repository at this point in the history
  7. tui: improve scroll handling and attribute sharing

    We improve the logic for scroll handling. Notably now the arrow buttons
    on the scroll bars work.
    
    We also make many of the used style attrubutes internally configurable
    and fix any styles biased to a dark background.
    
    There are various cleanups for the drawing of the top frame, including
    making the debug info menu a proper overlay rather than just appending
    to the end.
    
    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    767ed6a View commit details
    Browse the repository at this point in the history
  8. refactor(tui): make debug printing easier to extend

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    7b443d7 View commit details
    Browse the repository at this point in the history
  9. feature(tui): WIP add process window

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    fed9592 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    90787f5 View commit details
    Browse the repository at this point in the history
  11. tui: use fds from term

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    331ce28 View commit details
    Browse the repository at this point in the history
  12. fixup

    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    74bf309 View commit details
    Browse the repository at this point in the history