Files
ghostty/src/shell-integration/nushell/vendor/autoload
Jon Parise 984ff2b402 nushell: refactor ssh wrapper for clarity
The ssh wrapper previously used a separate set_ssh_terminfo function
that returned a record to be merged, which result in some redundant
control flow and TERM assignments.

This inlines the terminfo logic and builds env/opts incrementally based
on feature flags. TERM is set to a fallback early and only overridden on
success, which simplifies our error handling and avoids mutable variable
capture issues in closures.

Lastly, warnings are now consistently written to stderr, and I made
various other control flow and syntax improvements.
2026-01-29 15:03:05 -05:00
..