iTerm2
iTerm2 copied to clipboard
Setup for custom title delay settings.
Added the possibility to change the delay for the app to set a tab’s title.
This can be achieved by running the following command:
defaults write com.googlecode.iterm2 DelayedTitleCustomDelayTimeInterval -float 0.5
If no value is set in the defaults then the default value of 0.1
is used.
Coverage increased (+0.002%) to 32.335% when pulling 494d0372f2f6fb23676d20bf1aa045e8c9d8d63c on ClementPadovani:feature/tabTitleCustomDelay into 29b75f70e4366625c6ca105487faea2c90e1dea3 on gnachman:master.
Out of curiosity why would you want to do this?
Hey @gnachman,
I missed the instant process name change after migrating from Terminal to iTerm. And other might want a lower/higher delay time.
Coverage increased (+0.3%) to 32.344% when pulling 2aeb9a5b668e9ac533f25a4a27ebeb5d1e8b4385 on ClementPadovani:feature/tabTitleCustomDelay into 4e1f5faee9b7ac9dc3873fad932620197988c365 on gnachman:master.
I'd be surprised if a .1 second delay were perceptible. The lion's share of the delay is that Terminal does some undocumented magic to get the process name instantly, whereas we have to poll periodically every 1/2 second. If you really want to speed it up increase the polling interval in ProcessCache.m line 353, but it'll cost you some CPU.
Alright, thanks @gnachman for your help. I’ll try messing around with ProcessCache
when I have more time.
TBH it’s really a detail and it’s some of my classmates noticed the difference when switching from the stock term to iTerm that’s all.