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: gui-cs/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: gui-cs/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/markdown-renderer-state-leak
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 7 files changed
  • 2 contributors

Commits on May 24, 2026

  1. Merge pull request #4 from gui-cs/tig/readme-and-hero-gif

    Expand README and add hero GIF recording guide
    tig authored May 24, 2026
    Configuration menu
    Copy the full SHA
    3935614 View commit details
    Browse the repository at this point in the history
  2. Plan: help command and --help flag should render markdown

    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    tig and Copilot committed May 24, 2026
    Configuration menu
    Copy the full SHA
    78455f3 View commit details
    Browse the repository at this point in the history
  3. Fix help command and --help flag to render markdown

    - Convert MetadataHelpProvider.GetRootHelp to generate markdown with
      ## headings, bullet lists, and backtick formatting
    - Fix CliHost.WriteRootFlag to render via MarkdownRenderer.RenderToAnsi
      instead of plain stdout.WriteLine
    - Fix HelpCommand.RunAsync to display markdown in a fullscreen
      Terminal.Gui Markdown viewer using RunnableWrapper
    - Add tests for --help ANSI output, help --cat, and MetadataHelpProvider
      markdown generation
    
    Fixes #5
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    tig and Copilot committed May 24, 2026
    Configuration menu
    Copy the full SHA
    642d31e View commit details
    Browse the repository at this point in the history
  4. Fix help TUI: set Markdown.Text in Initialized handler, add integrati…

    …on tests
    
    The help command's TUI viewer rendered empty content because
    Markdown.Text was set before the view was initialized/laid out.
    Following the pattern from gui-cs/clet's MarkdownClet, set the text
    inside the Initialized event handler on the containing Runnable.
    
    Also switches from RunnableWrapper to a plain Runnable with an embedded
    Markdown view — the help viewer is read-only and needs no result
    extraction.
    
    Adds integration tests using Application.Create()/Init(ansi) with
    StopAfterFirstIteration to verify:
    - The TUI renders without hanging
    - Driver contents contain expected command text
    - Subcommand help renders correctly
    - RenderCatAsync produces ANSI output
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    tig and Copilot committed May 24, 2026
    Configuration menu
    Copy the full SHA
    98efef3 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #6 from gui-cs/tig/fix-help-markdown-rendering

    Help command and --help flag should render markdown
    tig authored May 24, 2026
    Configuration menu
    Copy the full SHA
    b4af0ca View commit details
    Browse the repository at this point in the history

Commits on May 25, 2026

  1. Add hero GIF recording and polish README

    - Re-record docs/images/hero.gif using tuirec v0.4.0 with the example app
    - Rewrite README for clarity: add badges, a Why section, feature table,
      real JSON output example, contributing pointer, and cleaner structure
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    tig and Copilot committed May 25, 2026
    Configuration menu
    Copy the full SHA
    00293b2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #8 from gui-cs/tig/hero-gif-and-readme

    Add hero GIF and polish README
    tig authored May 25, 2026
    Configuration menu
    Copy the full SHA
    694dc1c View commit details
    Browse the repository at this point in the history

Commits on May 26, 2026

  1. Merge remote-tracking branch 'origin/main' into backmerge/main-to-dev…

    …elop
    
    # Conflicts:
    #	src/Terminal.Gui.Cli/HelpCommand.cs
    #	src/Terminal.Gui.Cli/MetadataHelpProvider.cs
    #	tests/Terminal.Gui.Cli.Tests/MetadataHelpProviderTests.cs
    tig committed May 26, 2026
    Configuration menu
    Copy the full SHA
    2f2d055 View commit details
    Browse the repository at this point in the history
  2. Fix MarkdownRenderer global state leaks

    - Save and restore DisableRealDriverIO env var in finally block
    - Move app.Init inside try/finally so cleanup runs if Init throws
    - Add MarkdownRendererTests verifying env var restoration
    - Disable test parallelization (Terminal.Gui uses global state)
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    tig and Copilot committed May 26, 2026
    Configuration menu
    Copy the full SHA
    5881471 View commit details
    Browse the repository at this point in the history
Loading