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

Scrolling text box widget feature: Stick to the bottom #136

Open
HisenZhang opened this issue Jul 9, 2021 · 2 comments
Open

Scrolling text box widget feature: Stick to the bottom #136

HisenZhang opened this issue Jul 9, 2021 · 2 comments
Labels
Feature Request Add for a new feature request Widgets Add for issues having to do with widgets
Milestone

Comments

@HisenZhang
Copy link

Is your feature request related to a problem? Please describe.
Simply found this feature might be handy when people want to display logging in UI.

Describe the solution you'd like
A scrolling text box always sticks to the bottom (latest line). For example, the Minecraft Java server has a log widget showing what's going on with the server.

I have hacked py-cui for this purpose in my project by dynamically injecting methods into the py-cui object, which is not elegant (yet simple.....) But codes may be reused for this feature improvement.

Additional context
Like this log console to the right:
TUI example

@HisenZhang HisenZhang added the Feature Request Add for a new feature request label Jul 9, 2021
@jwlodek
Copy link
Owner

jwlodek commented Jul 10, 2021

Sure that sounds useful! If you wanted to make a PR for that that would be appreciated, if not I can probably work on it sometime

@HisenZhang
Copy link
Author

I can have a try... As a student who only worked on school projects before this is a good opportunity. Correct me if I did something wrong.

@jwlodek jwlodek added this to the v0.1.5 milestone Oct 2, 2021
@jwlodek jwlodek added the Widgets Add for issues having to do with widgets label Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Add for a new feature request Widgets Add for issues having to do with widgets
Projects
None yet
Development

No branches or pull requests

2 participants