From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6EB673858D33; Tue, 25 Apr 2023 10:08:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6EB673858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682417333; bh=wWAYLUG+giBe9iOrn5k4rZDXpITPqP1h0imC+AGCW1k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hkNXi8edk2dgVogdBwO0TZhy+11Hy5FMsy+LqCA/hR6HkZ1X40z06u2HVwpGlbgSe hTlFq/2hbxw8WFbYpFd2zEJnjwnV3DAdB/4RSItIe5sGwzpLlqK9IGmZhDDqFBqOGO OUChxMwuym7ww2IY2vpnGbfBhoeajlHN5rN+iV7Q= 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 10:08:53 +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: 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: 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 #1 from Tom de Vries --- This seems to help in some cases, but not all: ... - waddstr (handle.get (), string.c_str ()); + waddnstr (handle.get (), string.c_str (), width - 1); ... --=20 You are receiving this mail because: You are on the CC list for the bug.=