mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 12:05:21 +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
ea883b0865
commit
41f91667e5
1 changed files with 1 additions and 1 deletions
|
@ -676,7 +676,7 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC
|
||||||
char character = event.character;
|
char character = event.character;
|
||||||
|
|
||||||
//if (!isConnected()) {
|
//if (!isConnected()) {
|
||||||
if (fState!=TerminalState.CLOSED) {
|
if (fState==TerminalState.CLOSED) {
|
||||||
// Pressing ENTER while not connected causes us to connect.
|
// Pressing ENTER while not connected causes us to connect.
|
||||||
if (character == '\r') {
|
if (character == '\r') {
|
||||||
connectTerminal();
|
connectTerminal();
|
||||||
|
|
Loading…
Add table
Reference in a new issue