The Accidental Rubyist

invalid byte sequence in UTF-8

Splitpanes with Scrollpanes are finally working again (rbcurse)

leave a comment »

rbcurse is getting back into shape — currently working on a branch named rfed16 – its a simplified version of rbcurse19, in that i’ve reduced the number of pads in SplitPanes and ScrollPanes – in fact removed them altogether – only the final widget creates a pad. I am now using absolute coordinates, so i am better in control. Placing the cursor is no longer and issue.
There are still some programs not functioning — in this case it usually means some missing information not yet passed, not a change in logic, so there’s no breakage of previous programs as i fix.

Here’s a pic of 3 text objects. All are inside ScrollPanes. There’s one SplitPane inside another SplitPane.

Scrollpane inside a splitpane

3 Scrollpane inside a couple splitpanes

# print only lines that DO NOT match a regular expression (emulates ‘grep’)
$ cat | ruby -pe ‘next if $_ =~ /regexp/’


Written by totalrecall

February 17, 2010 at 2:48 pm

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: