Refined some TERM-related settings
Refined some TERM-related settings