Searched refs:cursor_position (Results 1 – 1 of 1) sorted by relevance
370 int cursor_position = strlen(init); in dialog_inputbox() local422 cursor_form_win = min(cursor_position, prompt_width-1); in dialog_inputbox()424 result + cursor_position-cursor_form_win); in dialog_inputbox()445 if (cursor_position > 0) { in dialog_inputbox()446 memmove(&result[cursor_position-1], in dialog_inputbox()447 &result[cursor_position], in dialog_inputbox()448 len-cursor_position+1); in dialog_inputbox()449 cursor_position--; in dialog_inputbox()455 if (cursor_position >= 0 && cursor_position < len) { in dialog_inputbox()456 memmove(&result[cursor_position], in dialog_inputbox()[all …]