r__k_u_m_a_r
r__k_u_m_a_r
I commented out a line in irb to get the sample to work. I hope someone can fix live_console so irb does not need to be modified. thanks.
For anyone else who faces the above problem when using 1.9.x, you can do the following in IRB: ruby-lex.rb 242: @line.force_encoding(@io.encoding) 242: @line.force_encoding(@io.encoding) rescue "" # ADDED RESCUE Now it...
I am not clear what you are trying to do with piping in the input. Of course, the sample is not reading in the STDIN... I will have to try...
In such a case, you need to put a read loop (just like we read the ARGS in a command line program) here we would read STDIN and pass it...
I actually found the same thing in an example called "viewer.rb" in ffi-ncurses: # We need to open /dev/tty so we can read from STDIN without borking # ncurses term...
On Sat, Feb 23, 2013 at 3:07 PM, Carl Lange [email protected]: > I suspect this may help? > https://github.com/seanohalpin/ffi-ncurses/blob/master/examples/newterm.rb > > — > Reply to this email directly or view...
I believe 2.0 is backward compatible so there should be no issues. But yes, i will soon install 2.0 and start testing. If someone who has 2.0 installed runs the...
1. In the examples, the sample status line only updates dates when the form refreshes which happens on a movement or key. Typically i assume that a clock will be...
I tried out your sample, it worked the first time then stopped working. Then I put an `alert` in the loop. it worked the first time in the loop, but...
I did find some code that was using threads and ncurses (for gmail), and there are comments saying that the thread stops working if you press a key two times,...