| 72 | |
| 73 | |
| 74 | public const char * |
| 75 | el_gets(EditLine *el, int *nread) |
| 76 | { |
| 77 | const wchar_t *tmp; |
| 78 | |
| 79 | if (!(el->el_flags & CHARSET_IS_UTF8)) |
| 80 | el->el_flags |= IGNORE_EXTCHARS; |
| 81 | tmp = el_wgets(el, nread); |
| 82 | if (!(el->el_flags & CHARSET_IS_UTF8)) |
| 83 | el->el_flags &= ~IGNORE_EXTCHARS; |
| 84 | return ct_encode_string(tmp, &el->el_lgcyconv); |
| 85 | } |
| 86 | |
| 87 | |
| 88 | public int |
no test coverage detected