Home | History | Annotate | Download | only in libedit
History log of /src/lib/libedit/keymacro.h
RevisionDateAuthorComments
 1.6  09-May-2016  christos s/protected/libedit_private/g
 1.5  12-Apr-2016  christos From Ingo Schwarze:

* Delete the stubs of the XK_EXE mechanism that was never implemented.
From a security, stability, and simplicity perspective, i would
consider implementing it a truly terrible idea, so let's better
get rid of it.

* Do not use the local variable "num" in el_wgets() alternately for
two completely different purposes. Only use it for the number
of characters read, as stated in the comment (or -1 as long as
that number is still unknown), not for the (more or less boolean)
return value of read_getcmd(). Actually, there is no need at
all to save the latter return value after testing it once.

* The function read_getcmd() has very unusual return values:
It returns -1 for success and 0 for EOF/error. Switch that around
to 0 for success and -1 for EOF/error to be less confusing, and
get rid of the OKCMD preprocessor macro.

* Get rid of one #ifdef section in el_wgets() by using
el->el_chared.c_macro directly at the only place
where it is used.

* Delete the unused MIN() macro.
 1.4  11-Apr-2016  christos Char -> wchar_t from Ingo Schwarze.
 1.3  29-Jan-2016  christos One macro is enough (Ingo Schwarze)
 1.2  28-Jul-2011  christos whitespace and comments
 1.1  28-Jul-2011  christos Rename key to keymacro to avoid conflicts with term.h. The renaming of term
to terminal was again to avoid conflicts with term.h. term.h is a moving
namespace violation.

RSS XML Feed