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

Function vi_zero

extern/editline/src/vi.c:566–579  ·  view source on GitHub ↗

vi_zero(): * Vi move to the beginning of line * [0] */

Source from the content-addressed store, hash-verified

564 * [0]
565 */
566protected el_action_t
567vi_zero(EditLine *el, Int c)
568{
569
570 if (el->el_state.doingarg)
571 return ed_argument_digit(el, c);
572
573 el->el_line.cursor = el->el_line.buffer;
574 if (el->el_chared.c_vcmd.action != NOP) {
575 cv_delfini(el);
576 return CC_REFRESH;
577 }
578 return CC_CURSOR;
579}
580
581
582/* vi_delete_prev_char():

Callers

nothing calls this directly

Calls 2

ed_argument_digitFunction · 0.85
cv_delfiniFunction · 0.85

Tested by

no test coverage detected