forked from platformio/platformio-core
Fixed an issue with device monitor when the “send_on_enter” filter didn’t send EOL chars // Resolve #3787
This commit is contained in:
1 parent
b56d0fdd9b
commit
7c8508b651
2 files changed
+3
-2
No files matched your search
@@ -32,7 +32,7 @@ class SendOnEnter(DeviceMonitorFilter):
|
||||
def tx(self, text):
|
||||
self._buffer += text
|
||||
if self._buffer.endswith(self._eol):
|
||||
text = self._buffer[: len(self._eol) * -1]
|
||||
text = self._buffer
|
||||
self._buffer = ""
|
||||
return text
|
||||
return ""
|
||||
Reference in new issue
Block a user