ed_quoted_insert(): * Add the next character typed verbatim * [^V] [^V] */
| 356 | * [^V] [^V] |
| 357 | */ |
| 358 | protected el_action_t |
| 359 | ed_quoted_insert(EditLine *el, Int c) |
| 360 | { |
| 361 | int num; |
| 362 | Char tc; |
| 363 | |
| 364 | tty_quotemode(el); |
| 365 | num = FUN(el,getc)(el, &tc); |
| 366 | c = tc; |
| 367 | tty_noquotemode(el); |
| 368 | if (num == 1) |
| 369 | return ed_insert(el, c); |
| 370 | else |
| 371 | return ed_end_of_file(el, 0); |
| 372 | } |
| 373 | |
| 374 | |
| 375 | /* ed_digit(): |
nothing calls this directly
no test coverage detected