[BACK]Return to kbd.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/kbd.c between version 1.30 and 1.31

version 1.30, 2015/09/26 21:51:58 version 1.31, 2019/06/10 06:52:44
Line 15 
Line 15 
 #include "key.h"  #include "key.h"
 #include "macro.h"  #include "macro.h"
   
   #ifdef  MGLOG
   #include "log.h"
   #endif
   
 #define METABIT 0x80  #define METABIT 0x80
   
 #define PROMPTL 80  #define PROMPTL 80
Line 151 
Line 155 
         while ((funct = doscan(curmap, (key.k_chars[key.k_count++] =          while ((funct = doscan(curmap, (key.k_chars[key.k_count++] =
             getkey(TRUE)), &curmap)) == NULL)              getkey(TRUE)), &curmap)) == NULL)
                 /* nothing */;                  /* nothing */;
   
   #ifdef  MGLOG
           if (!mglog(funct))
                   ewprintf("Problem with logging");
   #endif
   
         if (macrodef && macrocount < MAXMACRO)          if (macrodef && macrocount < MAXMACRO)
                 macro[macrocount++].m_funct = funct;                  macro[macrocount++].m_funct = funct;

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31