Repository navigation
4.4.3 (2026-11-16) #1823
tleonhardt
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
ppaged()now prints its output when the configured pager program cannot be run, for examplewhere
lessis not installed. Previously only the shell's error was shown and the output waslost. A pager command which could not be run is not tried again while the application is
running, so the shell's error is shown once for each pager command instead of every time.
cmd2console of its own, such as aCmd2GeneralConsoleshowing a Rich progress bar, no longer ends with a
BrokenPipeErrormessage when its outputis piped to something that exits early, as
headdoes.cmd2now ends the command quietlyinstead, printing
broken_pipe_warningif it is set.cmd2consoles now raiseConsoleBrokenPipeError, a new subclass ofBrokenPipeErrorwhosefileattribute is thestream which broke.
get_exes_in_path(), for namescontaining square brackets. This includes a working directory, home directory, or
PATHdirectory with brackets in its name.
get_exes_in_path()now match*and?literally instead of returning nothing when the text being completed contains one, so names
containing those characters can be completed.
*,?,(,&, or$, when the text being completed is passed to a shell: the argumentsof the
shellcommand and everything after a pipe. This keeps the shell from expanding ormisreading the completed name. Everywhere else, only a match with a space is quoted, as
before. See the
Special Characters in Paths
documentation for details.
get_exes_in_path(),find_editor(), and shell command completion no longer skipPATHentries which are symbolic links to directories.
find_editor()now finds theediteditor on Windows. It was the preferred default editorthere but could never be found because it was searched for without its
.exeextension, sothe default editor on a Windows machine which has
editchanges to it.rich_progress.py
example, which shows how to display the progress of long-running commands with Rich status
spinners and progress bars. See the new
Updating Output in Place
documentation for details, including why a carriage return embedded in a string passed to
poutput()does not move the cursor.textual_tty_toolbar.py
example, which shows how to keep a bottom toolbar on the screen while commands run by running
a
cmd2application inside a Textual application which draws the toolbar. SeeEmbedding in Textual
for how it works and what it costs.
New Contributors
Full Changelog: 4.4.2...4.4.3
This discussion was created from the release 4.4.3 (2026-11-16).
All reactions