Method: RubyCurses::TextView#cursor_backward
- Defined in:
- lib/rbcurse/core/widgets/rtextview.rb
#cursor_backward ⇒ Object
:nodoc:
427 428 429 430 431 432 433 434 435 436 437 438 439 |
# File 'lib/rbcurse/core/widgets/rtextview.rb', line 427 def cursor_backward #:nodoc: repeatm { if @curpos > 0 @curpos -= 1 set_form_col #addcol -1 elsif @pcol > 0 @pcol -= 1 end } #@repaint_required = true @repaint_footer_required = true # 2010-01-23 22:41 end |