From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 66EE53858D33; Tue, 25 Apr 2023 09:45:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 66EE53858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682415933; bh=qSagh1EtK/vLl+h2FvMKX/Ec8pr5O6EbbVkQlhnLO2U=; h=From:To:Subject:Date:From; b=Ds94I319HpSTCwyExSq5dFk2GBBnoM+HiFtMYmgPWB/LJDBv6yI8lBNQoSbg71Zr5 Gg+vEhiJZDxL24Cp3fbQ3vRNnXjyNIzVgCTL1Bxb+etiCK2c8w6VbCpPrRV5UdoicG ZXIrPNprg3NJMCzM5ry1kDGZTZ3HeiRTqNvQQA3c= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/30388] New: [gdb/tui, TERM=ansi] first char of prompt in status line Date: Tue, 25 Apr 2023 09:45:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30388 Bug ID: 30388 Summary: [gdb/tui, TERM=3Dansi] first char of prompt in status line Product: gdb Version: 13.1 Status: NEW Severity: normal Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider: ... $ gdb -q -iex "set tui border-kind ascii" -tui ... This gets us the expected lower border of src window, status line and promp= t: ... +----------------------------------------+ No process In: L?? PC: ??=20 (gdb)=20 ... With TERM=3Dansi, we have instead: ... +----------------------------------------+ No process In: L?? PC: ??( gdb)=20 ... This seems to have something to do with the status line window. If I do: ... diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index 01d243ba9a1..5a860310856 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -1167,7 +1167,6 @@ initialize_layouts () layout =3D new tui_layout_split (); layout->add_window (SRC_NAME, 2); - layout->add_window (STATUS_NAME, 0); layout->add_window (CMD_NAME, 1); add_layout_command (SRC_NAME, layout); ... I get the expected: ... +----------------------------------------+ (gdb)=20 ... --=20 You are receiving this mail because: You are on the CC list for the bug.=