Add workaround for "VTE" terminals.