Lines Matching full:col
61 col = 0; in keyboard()
97 line[col] = '\0'; in keyboard()
127 if (col == 0) { in keyboard_dispatch()
141 if (ch == erasechar() && col > 0) { in keyboard_dispatch()
142 if (col == 1 && line[0] == ':') in keyboard_dispatch()
144 col--; in keyboard_dispatch()
147 if (ch == CTRL('w') && col > 0) { in keyboard_dispatch()
148 while (--col >= 0 && isspace(line[col])) in keyboard_dispatch()
150 col++; in keyboard_dispatch()
151 while (--col >= 0 && !isspace(line[col])) in keyboard_dispatch()
152 if (col == 0 && line[0] == ':') in keyboard_dispatch()
154 col++; in keyboard_dispatch()
157 if (ch == killchar() && col > 0) { in keyboard_dispatch()
158 col = 0; in keyboard_dispatch()
160 col++; in keyboard_dispatch()
162 move(CMDLINE, col); in keyboard_dispatch()
167 line[col] = ch; in keyboard_dispatch()
168 mvaddch(CMDLINE, col, ch); in keyboard_dispatch()
169 col++; in keyboard_dispatch()
172 if (col == 0 || (ch != '\r' && ch != '\n')) in keyboard_dispatch()