Re: [Midnight Commander] #203: The keypad doesn't work correct under the putty



#203: The keypad doesn't work correct under the putty
-----------------------+----------------------------------------------------
  Reporter:  angel_il  |       Owner:        
      Type:  defect    |      Status:  new   
  Priority:  major     |   Milestone:  4.7   
 Component:  mc-core   |     Version:  4.6.1 
Resolution:            |    Keywords:  keypad
  Blocking:            |   Blockedby:        
-----------------------+----------------------------------------------------

Comment(by angel_il):

 to
 main.c

 {{{
 ...
 main (int argc, char **argv)
 ...
     int save_old_esc_mode = old_esc_mode;
     int save_alternate_plus_minus  = alternate_plus_minus;
     old_esc_mode = 0;.
     alternate_plus_minus = 1;.
     application_keypad_mode ();
     old_esc_mode = save_old_esc_mode;
     alternate_plus_minus = save_alternate_plus_minus;
     if (!alternate_plus_minus)
         numeric_keypad_mode ();

 }}}

-- 
Ticket URL: <www.midnight-commander.org/ticket/203#comment:2>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]