gh-156207: Fix curses Textbox.gather() for double-width characters (GH-156208)

gather() read the window cell by cell, so a double-width character, which
occupies two cells, was returned twice.  Read the whole line with in_wstr(),
which returns every character once.
2 files changed