Fix #41: TERM env variable is now set by the plugin.