Feature Request: Logging Input and Output for Each Terminal Tab Automatically #18384
Labels
Needs-Tag-Fix
Doesn't match tag requirements
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Description: I would like to request a feature that allows logging of input and output for each terminal tab in Windows Terminal automatically (Not export text manually, Because I often remember to review the terminal output only after I close the tab or the entire terminal program). This feature would be similar to the logging functionality available in mintty, where logs can be configured in the configuration file (e.g., ~/.minttyrc with Log=/var/log/mintty/%Y%m%d@%H:%M:%S_log%d.txt).
Use Case: This feature would be extremely useful for users who need to keep a record of their terminal sessions for auditing, debugging, or documentation purposes. It would be beneficial for various types of terminals, including PowerShell, CMD, WSL, and MSYS2.
Proposed Solution: Implement a logging feature that can be configured in the Windows Terminal settings, allowing users to specify the log file path and format. The logs should include both input and output for each terminal tab.
Additional Context: Currently, users have to rely on external tools and scripts to achieve this functionality. Having this feature built into Windows Terminal would greatly enhance its usability and convenience.
The text was updated successfully, but these errors were encountered: