Lines Matching defs:line
1 /* linenoise.c -- guerrilla line editing library against the idea that a
2 * line editing lib needs to be 20,000 lines of C code.
62 * Effect: if n is 0 or missing, clear from cursor to end of line
63 * Effect: if n is 1, clear from beginning of line to cursor
64 * Effect: if n is 2, clear entire line
94 int linenoiseHistoryAdd(const char *line);
237 case 10: /* line feed. */
325 /* Avoid a full update of the line in the
341 case 21: /* Ctrl+u, delete the whole line. */
346 case 11: /* Ctrl+k, delete from current to end of line. */
351 case 1: /* Ctrl+a, go to the start of the line */
355 case 5: /* ctrl+e, go to the end of the line */
411 int linenoiseHistoryAdd(const char *line) {
420 linecopy = strdup(line);