-
Notifications
You must be signed in to change notification settings - Fork 689
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
scrollbar for terminal window #111
Comments
Going to mark this as a GTK enhancement because I don't think we're going to support GUI elements like scrollbars in systems such as GLFW, otherwise we'd have to render it ourself and I'm not super interested in doing that. 😄 |
My last comment is so old we didn't have an AppKit apprt so I'm going to remove the linux specificity on this. |
From #2524:
This looks like something to try. Note that core changes are necessary to enable this too since our Screen and PageList structure at the time of writing this have no way to know min/max/position. |
Kitty draws a non-interactive scrollbar in the recent versions. I think it's pretty useful even though you can't click it, you still know where you are. |
This comment has been minimized.
This comment has been minimized.
In case it's useful to anyone, here's a hacky proof-of-concept of a SwiftUI app hosting an NSScrollView that then itself hosts another SwiftUI view that has a metal view and another SwiftUI view as child. The NSScrollView's document view (the thing that's scrolled around) is a dummy 20k x 10k view (larger than the max metal size), but the metal view is only as large as the scroll view's visible area. The metal view is a child of the document view, and its position on the document view is updated to keep it always visible. This seems to work. (The other somewhat common approach is to instead give the NSScrollView a custom NSClipView subclass and handle drawing that way. https://github.com/Tinrocket-LLC/TRMetalImageView does this, but it looks a bit more involved.) |
This comment has been minimized.
This comment has been minimized.
Non-interactive scrollback visual indicator sounds great; interactive scrollbar sounds good too. Personally, I think an interactive scrollback minimap (like extraterm, vscode, sublimetext) would be killer. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please don't add any more comments to the effect of "+1" or "I want this". Instead, indicate your desire by reacting 👍🏼 to the issue itself, or even this comment. However, feel free to add any concrete suggestions or prior art as to how to design this feature. People (especially busy volunteer developers) are notified every time someone adds a new comment, and it's not helpful when comments like these add no value and don't contribute directly to the feature's design and inclusion. If need be, this issue may be locked to contributors only. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Looks like my warning was not heeded. Locking to collaborators. |
helps to quickly get to the top when the output buffer is really long
The text was updated successfully, but these errors were encountered: