unreachable code lolololol

This commit is contained in:
Adam D. Ruppe 2020-07-02 11:36:16 -04:00
parent a07fb24c1e
commit 09bdcb230b
1 changed files with 5 additions and 3 deletions

View File

@ -1123,11 +1123,13 @@ struct Terminal {
} }
if(!usingDirectEmulator) { if(!usingDirectEmulator) {
version(Posix) version(Posix) {
posixInitialize(type, 0, 1, null); posixInitialize(type, 0, 1, null);
else
throw new Exception("Total wtf - are you on a windows system without a gui?!?");
return; return;
} else {
throw new Exception("Total wtf - are you on a windows system without a gui?!?");
}
assert(0);
} }
tcaps = uint.max; // all capabilities tcaps = uint.max; // all capabilities