pub(super) fn at_prompt(text: &str, family: ShellFamily) -> boolExpand description
Whether the last non-empty line looks like the shell’s prompt: cmd’s
C:\path>, PowerShell’s PS C:\path>, or a Unix prompt ending in $ # % > ❯.
pub(super) fn at_prompt(text: &str, family: ShellFamily) -> boolWhether the last non-empty line looks like the shell’s prompt: cmd’s
C:\path>, PowerShell’s PS C:\path>, or a Unix prompt ending in $ # % > ❯.