Re: [PATCH 4/7] [gdb/testsuite] Handle auto_left_margin in tuiterm

Tom Tromey
2025-07-23T18:37:19Z

>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> The terminal capability bw (aka as auto_left_margin) controls whether a
Tom> backspace at the start of a line wraps to the last column of the previous
Tom> line.

Tom> For tuiterm, we use TERM=ansi, and on linux at least that capability is off.

Tom> Consequently the current implementation of Term::_ctl_0x08 doesn't wrap.

Tom> Add this capability in Term::_ctl_0x08, and add a unit test.

Ok. Thanks.
Approved-By: Tom Tromey <tom@tromey.com>

Tom