Skip to content

Commit 567a537

Browse files
authored
Add ability to prevent terminal title updates from ANSI Escape sequence
When a more complete implementation of ANSI Escape sequence for renaming terminal titles was added in [CDT 10.2](https://github.com/eclipse-cdt/cdt/blob/main/NewAndNoteworthy/CDT-10.2.md#rename-terminal-tab) it caused a regression in use cases where extenders of the terminal wanted to retain control of the terminal's title. This commit adds a new flag that will prevent the title of the terminal tab from being updated from ANSI escape sequences. Fixes #494
1 parent eec43ff commit 567a537

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

terminal/plugins/org.eclipse.tm.terminal.view.core/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: org.eclipse.tm.terminal.view.core;singleton:=true
5-
Bundle-Version: 4.9.100.qualifier
5+
Bundle-Version: 4.10.0.qualifier
66
Bundle-Activator: org.eclipse.tm.terminal.view.core.activator.CoreBundleActivator
77
Bundle-Vendor: %providerName
88
Require-Bundle: org.eclipse.core.expressions;bundle-version="3.4.400",

terminal/plugins/org.eclipse.tm.terminal.view.core/src/org/eclipse/tm/terminal/view/core/interfaces/constants/ITerminalsConnectorConstants.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ public interface ITerminalsConnectorConstants {
7171
*/
7272
public static final String PROP_TITLE = "title"; //$NON-NLS-1$
7373

74+
/**
75+
* Property: Flag to disable updating the terminal title from ANSI escape sequences.
76+
* <p>
77+
* Property Type: {@link Boolean}
78+
* @since 4.10
79+
*/
80+
public static final String PROP_TITLE_DISABLE_ANSI_TITLE = "titleDisableAnsiTitle"; //$NON-NLS-1$
81+
7482
/**
7583
* Property: The encoding of the terminal tab to open.
7684
* <p>

0 commit comments

Comments
 (0)