aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-09-27 20:30:30 -0600
committerTom Tromey <tom@tromey.com>2020-09-27 20:30:33 -0600
commit2c72d5e58a55d3e0f867ffd9421184852f051cb7 (patch)
tree30777c30b8de39921bc12251304c487961f7cef1 /gdb/objc-lang.c
parent35a982372fd63da7dd2811d6150b0c61236bbbb5 (diff)
downloadbinutils-2c72d5e58a55d3e0f867ffd9421184852f051cb7.zip
binutils-2c72d5e58a55d3e0f867ffd9421184852f051cb7.tar.gz
binutils-2c72d5e58a55d3e0f867ffd9421184852f051cb7.tar.bz2
Rewrite tui_puts
This rewrites tui_puts. It now writes as many bytes as possible in a call to waddnstr, letting curses handle multi-byte sequences properly. Note that tui_puts_internal remains. It is needed to handle computing the start line of the readline prompt, which is difficult to do properly in the case where redisplaying can also cause the command window to scroll. This might be possible to implement by reverting to single "character" output, by using mbsrtowcs for its side effects to find character boundaries in the input. I have not attempted this. gdb/ChangeLog 2020-09-27 Tom Tromey <tom@tromey.com> PR tui/25342: * tui/tui-io.c (tui_puts): Rewrite. Move earlier.
Diffstat (limited to 'gdb/objc-lang.c')
0 files changed, 0 insertions, 0 deletions