version 1.30, 2015/09/26 21:51:58 |
version 1.31, 2019/06/10 06:52:44 |
|
|
#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 |
|
|
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; |