Curtis McEnroe
afae851319
Set errno in vaswprintf in case vswprintf does not
...
As is the case on GNU.
2018-08-20 17:28:42 -04:00
Curtis McEnroe
eac0f83efa
Factor out line editing to edit.c
2018-08-08 16:59:26 -04:00
Curtis McEnroe
a6ede6f91f
Factor out allocating conversion between wcs and mbs
2018-08-07 16:24:14 -04:00
Curtis McEnroe
fe21b1410f
Convert input to multibyte before handling
2018-08-07 15:46:04 -04:00
Curtis McEnroe
1c2b038396
Fix allocation size in vaswprintf
...
This is so embarrassing. It only started crashing once it had strings
that were long enough, and then it took me so long to notice this
mistake. I was worried I was still doing va_list wrong somehow.
2018-08-06 22:08:57 -04:00
Curtis McEnroe
3f3fa34d8a
Implement word wrapping
2018-08-06 15:12:13 -04:00
Curtis McEnroe
d6fb797b11
Use wchar_t strings for all of UI
...
vaswprintf is a nightmare.
2018-08-06 14:19:52 -04:00