tmux-plugins / tmux-logging

Easy logging and screen capturing for Tmux.
MIT License
1.03k stars 113 forks source link

zle reset-prompt cause enter in log file #29

Open ghost opened 6 years ago

ghost commented 6 years ago

I need real-time clock in prompt so I enable trap with zle reset-prompt, this causing tmux-logging continue to capture like enter with TMOUT=1 - each 1s causing like new line, I have bunch of these lines in log file:

[user@localhost ~]
[user@localhost ~]
[user@localhost ~]
[user@localhost ~]

How could I avoid this? make tmux-logging ignore the trap/reset-prompt?