aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
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/ChangeLog
parent35a982372fd63da7dd2811d6150b0c61236bbbb5 (diff)
downloadgdb-2c72d5e58a55d3e0f867ffd9421184852f051cb7.zip
gdb-2c72d5e58a55d3e0f867ffd9421184852f051cb7.tar.gz
gdb-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/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fc016ae..7a73f9a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,6 +1,11 @@
2020-09-27 Tom Tromey <tom@tromey.com>
PR tui/25342:
+ * tui/tui-io.c (tui_puts): Rewrite. Move earlier.
+
+2020-09-27 Tom Tromey <tom@tromey.com>
+
+ PR tui/25342:
* tui/tui-winsource.c (tui_copy_source_line): Use ISNCTRL.
2020-09-27 Tom Tromey <tom@tromey.com>