mirror of https://github.com/buggins/dlangui.git
add more logs to identify #480 root cause
This commit is contained in:
parent
7698df5c3e
commit
da4285e697
|
@ -287,6 +287,7 @@ class Console {
|
||||||
}
|
}
|
||||||
bool rawWrite(string s) {
|
bool rawWrite(string s) {
|
||||||
import core.sys.posix.unistd;
|
import core.sys.posix.unistd;
|
||||||
|
import core.stdc.errno;
|
||||||
int res = cast(int)write(STDOUT_FILENO, s.ptr, s.length);
|
int res = cast(int)write(STDOUT_FILENO, s.ptr, s.length);
|
||||||
if (res < 0) {
|
if (res < 0) {
|
||||||
Log.e("rawWrite error ", errno, " - stopping terminal");
|
Log.e("rawWrite error ", errno, " - stopping terminal");
|
||||||
|
|
Loading…
Reference in New Issue