mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
bug 206892: [terminal][serial] Incorrect connected state when COM port is owned by another terminal
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206892 fixed the accidentally reversed logic!
This commit is contained in:
parent
874b39827f
commit
b1d2e6973c
1 changed files with 1 additions and 1 deletions
|
@ -676,7 +676,7 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC
|
|||
char character = event.character;
|
||||
|
||||
//if (!isConnected()) {
|
||||
if (fState!=TerminalState.CLOSED) {
|
||||
if (fState==TerminalState.CLOSED) {
|
||||
// Pressing ENTER while not connected causes us to connect.
|
||||
if (character == '\r') {
|
||||
connectTerminal();
|
||||
|
|
Loading…
Add table
Reference in a new issue