ncurses-ruby bugs

N

Nit Khair

Sorry for posting here. I mailed the email in the code 3 weeks back but
no response. Berlios.de has closed bug reporting.

1. dynamic_field_info (form_wrap.c):
The function takes 3 arrays, but was not allowing 3.
I changed 2 to 3 in line 1392, column 44. This is 0.9.1.
RB_CLASS_METH(cFIELD, dynamic_field_info,2);
RB_CLASS_METH(cFIELD, dynamic_field_info,3);

Now the method is callable.

2. ungetch: Many methods go through "method_missing". But this fails on
ungetch and is likely to give an error on other methods too. I was not
confident of touching that part of the code, so opened the class in ruby
as follows:

module Ncurses
class WINDOW
def ungetch(ch)
Ncurses.ungetch(ch)
end
end
end

Something similar can be done for other methods that fail in
method_missing.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,016
Latest member
TatianaCha

Latest Threads

Top