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

render/invalidate small rectangle #3

Open
sidorares opened this issue Jun 18, 2013 · 3 comments
Open

render/invalidate small rectangle #3

sidorares opened this issue Jun 18, 2013 · 3 comments

Comments

@sidorares
Copy link

afaik at the moment there is no way to render small rectangle on screen, .render() redraws the whole terminal. For applications like vnc this makes big performance hit as often I need to update small portions of the screen (e.i cursor movements). Is something like render(x,y,w,h) in the roadmap?

@TooTallNate
Copy link
Owner

Sounds like a great feature! And not too hard to implement off the top of my head. Feel free try whip up a patch, or I'll try to get to it when I get a chance.

@sidorares
Copy link
Author

Yes, should be not too hard. Whoever first :) might have some time this evening.

@piranna
Copy link

piranna commented Sep 4, 2014

Souldn't be better being .render() internally called automatically by canvas object methods? This could just be wrapped... Another option is to have an offline mode where you could exec some methods and later call .render() manually, this would allow to have a transparent API.

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

No branches or pull requests

3 participants