Pistos / diakonos

Diakonos is a console text editor for the masses.
https://git.sr.ht/~pistos/diakonos
Other
137 stars 11 forks source link

Error on resize #13

Closed Pistos closed 10 years ago

Pistos commented 13 years ago

Sometimes:

Diakonos Error:                                                                                                                      

TypeError: wrong argument type nil (expected Regexp)                                                                                 

Probable Causes:                                                                                                                     

- Unknown                                                                                                                            

----------------------------------------------------                                                                                 
If you can reproduce this error, please report it at                                                                                 
https://github.com/Pistos/diakonos/issues !                                                                                          
----------------------------------------------------                                                                                 
/home/pistos/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/diakonos/buffer/display.rb:46:in `scan'                            
/home/pistos/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/diakonos/buffer/display.rb:46:in `find_closing_match'              
/home/pistos/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/diakonos/buffer/display.rb:200:in `print_line'                     
/home/pistos/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/diakonos/buffer/display.rb:307:in `block in display'               
/home/pistos/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/diakonos/buffer/display.rb:295:in `each'                           
/home/pistos/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/diakonos/buffer/display.rb:295:in `each_with_index'                
/home/pistos/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/diakonos/buffer/display.rb:295:in `display'                        
/home/pistos/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/diakonos/display.rb:291:in `block in display_buf
Pistos commented 10 years ago

I haven't seen resize problems in a long time.