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

Add horizontal scrolling support to scrollview #1

Conversation

reykjalin
Copy link
Owner

Temporary PR to make the changes clearer until rockorager#148 is accepted.

rockorager and others added 30 commits January 2, 2025 08:10
Move the recovery logic to a separate function so users of the library
may call it *without* using the default panic handler.

Reference: rockorager#146
It should be pretty safe to assume that posix.empty_sigset
is supported on most, if not all, posix systems. Individual
OSes that need a different default value may add a case to
the switch like macos.

This should open up support for most other posix systems.

closes rockorager#151
Some improvements to WindowsTty.  The init function will now catch and
propagate an error.InvalidHandle so that caller can catch/handle it.

In addition, I added packed structs for the input/output
console modes which makes it convenient to manage the bits and is what
zigwin32 generates for its bindings.  I also made these newly added types
and wrapper functions public as they can be generally useful for terminal
applications.
`\x0A` was being parsed as an enter keypress. Distinguish this explicitly as a ctrl+j press.
vaxis-aio reuses the handleEventGeneric function
Still a work in progress.

At this point it's essentially just the ListView widgets with some
extermely minor tweaks.
The order of operations originally used resulted in the wrong height due
to truncation in integer division.
@reykjalin reykjalin force-pushed the add/horizontal-scrolling-support-to-scrollview branch from 0d88808 to 0c341b3 Compare January 28, 2025 12:28
@reykjalin
Copy link
Owner Author

Closed in favor of rockorager#157

@reykjalin reykjalin closed this Jan 28, 2025
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.

7 participants