The Accidental Rubyist

invalid byte sequence in UTF-8

Splitpanes are possible using ruby ncurses

leave a comment »

I have been thinking about how to implement split panes (like file explorers, or frames in a browser) in rbcurse.
While fixing some display issues in multi-column tables (when increasing the size of one column, other columns were printing slightly out of the table boundary in some stray cases), i had an idea of how splitpanes and scrollpanes could be implemented easily.

split pane

This should obviously not involve the component knowing it is in a split pane, or that it is currently not in view. Similarly, a screen like alpine’s (email client) custom setup (which is multi-page) should be possible without the user having to setup pages. The component automatically manages bringing components into view, and into focus as well. Once i am over testing rbcurse with ruby1.9 and maybe adding an edit screen to the sql client demo, I can start working on Splitpanes and Scrollpanes.

Some porting links:


Written by totalrecall

October 6, 2009 at 10:05 am

Posted in rbcurse

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: