mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
io/process: emit read for data remaining in buffer on exit
This commit is contained in:
parent
89e796cb21
commit
c4a7d16478
3 changed files with 8 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ void SplitParser::parseBytes(QByteArray& incoming, QByteArray& buffer) {
|
|||
}
|
||||
}
|
||||
|
||||
void SplitParser::streamEnded(QByteArray& buffer) {
|
||||
if (!buffer.isEmpty()) emit this->read(QString(buffer));
|
||||
}
|
||||
|
||||
QString SplitParser::splitMarker() const { return this->mSplitMarker; }
|
||||
|
||||
void SplitParser::setSplitMarker(QString marker) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue