MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / keymacro_reset

Function keymacro_reset

extern/editline/src/keymacro.c:158–165  ·  view source on GitHub ↗

keymacro_reset(): * Takes all nodes on el->el_keymacro.map and puts them on free list. * Then initializes el->el_keymacro.map with arrow keys * [Always bind the ansi arrow keys?] */

Source from the content-addressed store, hash-verified

156 * [Always bind the ansi arrow keys?]
157 */
158protected void
159keymacro_reset(EditLine *el)
160{
161
162 node__put(el, el->el_keymacro.map);
163 el->el_keymacro.map = NULL;
164 return;
165}
166
167
168/* keymacro_get():

Callers 3

map_init_viFunction · 0.85
map_init_emacsFunction · 0.85
keymacro_initFunction · 0.85

Calls 1

node__putFunction · 0.85

Tested by

no test coverage detected