docs: def session_preparation(self):
          """Prepare the session after the connection has been established."""
          self.ansi_escape_codes = True
          self.zsh_mode()
          self.find_prompt(delay_factor=1)
          self.set_base_prompt()
          # Clear the read buffer
          time.sleep(0.3 * self.global_delay_factor)
          self.clear_buffer()