Repository navigation
What's Changed
- Bug Fixes
- A secret pasted into
read_secret()with a newline after it is now submitted by that newline, and the newline is no longer returned as part of the secret. The whole paste is taken as one secret. Newlines before and after it are dropped and those inside it are kept, so a secret of several lines can still be pasted. read_input()andread_secret()now remove trailing newlines from what they return when reading from a terminal, as their documentation says. Before, a pasted newline could be left on the end if the prompt had no key binding of cmd2's for a paste.run_scriptnow reports an error when it is given a directory which reports a size of zero, as Windows does for some directories. Before, it took such a directory for an empty script, printed nothing and setlast_resulttoTrue.- When
ppaged()detects a legacy Windows console, it now strips ANSI style codes before sending text to the exte
- A secret pasted into
New Contributors
Full Changelog: 4.4.4...4.4.5