Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Textualize/trogon
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: eaa9e68
Choose a base ref
...
head repository: Textualize/trogon
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 981c48d
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 15, 2025

  1. Support dynamic default values

    Typer allows passing a `default_factory` to options and arguments, which
    is a callable that will be used at runtime to determine the default
    value. The Textual application created by Trogon crashes when this is
    used, because it tries to convert the str representation of the callable
    function for display when it should be converting the result of calling
    that function instead. This change ensures dynamic default values do not
    crash the application, and has the effect of setting the default value
    appropriately in the TUI.
    daneah committed Apr 15, 2025
    Configuration menu
    Copy the full SHA
    981c48d View commit details
    Browse the repository at this point in the history
Loading