feat(pty): rename statuses

- NONE -> CLOSED.
- CONNECTED -> OPEN.
- Remove CONNECTING.
This commit is contained in:
Leroy Hopson 2024-03-01 22:35:47 +13:00
parent 80ae0020da
commit 8fa7df29d3
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
2 changed files with 17 additions and 17 deletions

View file

@ -33,9 +33,8 @@ namespace godot
};
enum Status {
STATUS_NONE,
STATUS_CONNECTING,
STATUS_CONNECTED,
STATUS_CLOSED,
STATUS_OPEN,
STATUS_PAUSED,
STATUS_ERROR,
};
@ -43,7 +42,7 @@ namespace godot
PTY();
~PTY();
Status status = STATUS_NONE;
Status status = STATUS_CLOSED;
int get_cols() const;
int get_rows() const;