Use wclrtoeol in tui_show_source_line
authorTom Tromey <tom@tromey.com>
Tue, 9 Oct 2018 20:16:07 +0000 (14:16 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 28 Dec 2018 19:49:53 +0000 (12:49 -0700)
commit4a3045920bbe4e50a0f4920b0fdc4e88ef23015c
treee71cdfd2cb46cadab50a5389037c16a42e7c9661
parent1d1d0bf76f3bc3056a1456e53c066f40ca4d0837
Use wclrtoeol in tui_show_source_line

This changes tui_show_source_line to use wclrtoeol rather than
manually emitting a sequence of spaces.

gdb/ChangeLog
2018-12-28  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.c (tui_show_source_line): Use wclrtoeol.
gdb/ChangeLog
gdb/tui/tui-winsource.c