From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3EDF93858D1E; Tue, 25 Apr 2023 11:30:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EDF93858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682422205; bh=bXWenKOSX/yDLntzCRFKM1lVKGAcQG7m1yHphsRWFeg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Y2pxWhe2p1RiyaxwlQ1MNvIvx88nUEZgX3pLsuazRWv86G151gJUcIf5Hz622CsWj UmsmcAYMi2T0+dhIW8bkOc9fxCHNaC+r0vKMMk8YnZc0J3ngsZBvFBkIpcvvq4k5jx N32hMTT9qEtGXf0F7bJeltCvk3gc+yencEKMnTv0= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/30388] [gdb/tui, TERM=ansi] first char of prompt in status line Date: Tue, 25 Apr 2023 11:30:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: Message-ID: In-Reply-To: References: 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 --- Comment #5 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > This seems to help in some cases, but not all: > ... > - waddstr (handle.get (), string.c_str ()); > + waddnstr (handle.get (), string.c_str (), width - 1); > ... This case is fine: ... $ TERM=3Dansi gdb -q -eiex "set tui border-kind ascii" -tui=20 ... but this case still has the same problem: ... $ TERM=3Dansi gdb -q -iex "set tui border-kind ascii" -tui ... Also works fine with: ... $ TERM=3Dansi gdb -q -iex "set tui border-kind ascii" -iex "tui enable" ... and: ... $ TERM=3Dansi gdb -q -eiex "set tui border-kind ascii" -iex "tui enable" ... --=20 You are receiving this mail because: You are on the CC list for the bug.=