From 09bdcb230b3a07264ef98d28480a01de66a142e4 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Thu, 2 Jul 2020 11:36:16 -0400 Subject: [PATCH] unreachable code lolololol --- terminal.d | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/terminal.d b/terminal.d index 2de4bd5..243f7b7 100644 --- a/terminal.d +++ b/terminal.d @@ -1123,11 +1123,13 @@ struct Terminal { } if(!usingDirectEmulator) { - version(Posix) + version(Posix) { posixInitialize(type, 0, 1, null); - else + return; + } else { throw new Exception("Total wtf - are you on a windows system without a gui?!?"); - return; + } + assert(0); } tcaps = uint.max; // all capabilities