disable toolbar only in terminal mode