@Override
	public void run() {
		while(true){
			synchronized(thread){
				try {
					JixelGame.setPaused(false);
					thread.wait();
				} catch (InterruptedException e) {
					printErr("Console thread interrupted", e);
				}
			}
			while (isRunning) {
				JixelGame.setPaused(true);
				if (!JixelGame.getKeyInput().isReading()) {
					String msg = getConsoleMsg();
					if (!msg.isEmpty()) {
						String[] commands = msg.split(" ");
						cInput(commands);
					}
					startConsoleMsg((MAX_WIDTH>>3)-1);
				}
			}
		}
	}