Lines Matching refs:instr
50 char *instr = dialog_input_result; in dialog_inputbox() local
54 instr[0] = '\0'; in dialog_inputbox()
56 strcpy(instr, init); in dialog_inputbox()
101 len = strlen(instr); in dialog_inputbox()
108 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
112 waddstr(dialog, instr); in dialog_inputbox()
139 instr[i] = instr[i+1]; in dialog_inputbox()
145 instr[len] = '\0'; in dialog_inputbox()
148 if (!instr[show_x + i]) { in dialog_inputbox()
152 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
166 if (!instr[show_x + i]) { in dialog_inputbox()
170 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
185 if (!instr[show_x + i]) { in dialog_inputbox()
189 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
202 instr[i] = instr[i-1]; in dialog_inputbox()
203 instr[pos] = key; in dialog_inputbox()
205 instr[len] = key; in dialog_inputbox()
209 instr[len] = '\0'; in dialog_inputbox()
219 if (!instr[show_x + i]) { in dialog_inputbox()
223 waddch(dialog, instr[show_x + i]); in dialog_inputbox()