tmux-plugins / tmux-logging

Easy logging and screen capturing for Tmux.
MIT License
1.05k stars 114 forks source link

Ensure correct filename is displayed in Start/Stop messages #69

Open pahindman opened 5 months ago

pahindman commented 5 months ago

When starting logging it was possible for the filename displayed to be different than the actual filename used (though probably at most off by 1 second). More importantly, when stopping logging the filename displayed would be constructed at the time that logging was stopped, so would almost never be correct. This PR fixes both by repurposing the pane-specific logging_variable to hold the filename being logged to.