docs: protected void acquire() throws IOException {
          //Make sure to set an initial size
          onResized(80, 24);
  
          saveTerminalSettings();
          canonicalMode(false);
          keyEchoEnabled(false);
          if(catchSpecialCharacters) {
              keyStrokeSignalsEnabled(false);
          }
          registerTerminalResizeListener(new Runnable() {
              @Override
              public void run() {
                  // This will trigger a resize notification as the size will be different than before
                  try {
                      getTerminalSize();
                  }
                  catch(IOException ignore) {
                      // Not much to do here, we can't re-throw it
                  }
              }
          });
          Runtime.getRuntime().addShutdownHook(shutdownHook);
          acquired = true;
      }