[Bug 276250] Backspace issue related to PS1 special variable containing \n formatting sequence

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Jan 2024 18:33:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276250

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
I can reproduce this on main, but only with /bin/sh.  Is this a regression from
an earlier release?

For others, just setting PS1="\[\n\]\h:\w \[\n\]\$ " in /bin/sh, entering a few
characters and pressing backspace is enough to trigger the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.