From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 707B4385771D; Tue, 6 Jun 2023 15:11:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 707B4385771D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686064295; bh=7roVzzir/wLYzG+BMkPXvElJYpQEhbr1G92Q/KN8bnE=; h=From:To:Subject:Date:From; b=y4mf/EYScUnDD+6fXjJ/rrViaQ1QLXqtZjn18fTvpyI6c4R5OKztc68ylIOC6tRZG hc948mEK3uRtak8pHwzxXRZF6aDEob/j6hbmlxWdfaNhINy03gWcYXaRsYmr3lH2nW D0XU94ZoQh463IVBiLE3Q+G9YtZlXYDi6Dh7cO1c= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/30523] New: [gdb/tui] Exiting tui doesn't clear prompt line Date: Tue, 06 Jun 2023 15:11:35 +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: HEAD 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=3D30523 Bug ID: 30523 Summary: [gdb/tui] Exiting tui doesn't clear prompt line Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Say we enter gdb, and type "foo" (indicating cursor with ^): ... (gdb) foo ^ ... Then we enter tui using C-x 1, and we have: ... (gdb)=20 ^ ... After typing "tui disable" or C-x a to leave the TUI mode, and we have: ... (gdb) foo ^ ... The "foo" string is not part of the readline buffer, if we do ^L it's gone. It probably shouldn't be there in the first place after exiting TUI. --=20 You are receiving this mail because: You are on the CC list for the bug.=