-
Notifications
You must be signed in to change notification settings - Fork 366
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Some terminals like ghostty or iTerm have specific security features when they identify that a password is being requested.
See ghostty-org/ghostty#3980. The lock shown in the screencast is the goal of this feature request (it prevent focus stealing I think).
Describe the solution you'd like
Either adjust the textinput or create a new passwordinput package to handle this usecase.
Describe alternatives you've considered
Manually performing the right syscalls (using unix.IoctlSetTermios to set ICANON maybe?).
Additional context
// We assume we're in some sort of password input if we're
// in canonical mode and not echoing. This is a heuristic.
const password_input = mode.canonical and !mode.echo;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request