mirror of https://github.com/buggins/dlangui.git
Fix unistd dup usage
This commit is contained in:
parent
39ec1512c9
commit
0907817186
|
@ -280,7 +280,7 @@ class Console {
|
|||
break;
|
||||
}
|
||||
if (readBufPos > 0 && isSequenceCompleted()) {
|
||||
string s = readBuf[0 .. readBufPos].dup;
|
||||
string s = readBuf[0 .. readBufPos].idup;
|
||||
readBufPos = 0;
|
||||
return s;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue