diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-05-27 21:49:52 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-05-27 21:49:52 +0800 |
| commit | d96ac911c927ec032f91fde2bed3de26c2353b1c (patch) | |
| tree | 083679496935352230a22c775166e4196eec67b9 /src/session.hpp | |
| parent | 2f522573eea46c72f7e77be60ba9702725dca2fa (diff) | |
fix: don't accept ascii seq(0x1B)
this can mess up terminals of others
won't really affect the server as we using ftxui
and it seems to not affect the output somehow
Diffstat (limited to 'src/session.hpp')
| -rw-r--r-- | src/session.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.hpp b/src/session.hpp index 9b4a970..263dcb6 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -21,6 +21,8 @@ class CSession { bool isEmpty() const; void sanitize(); + + static constexpr char asciiEscape = 0x1B; // }; const std::string &getName() const; |
