 ;;      * Kill old subprocess immediately, don't wait `run-with-idle-timer'
 ;;      * Split input window with on line height.
 ;;      * Make color along with current theme.
+;;      * Quit snails if it has opened.
 ;;
 ;; 2019/07/22
 ;;      * Delete other window first, make sure only one window in frame.

;; Maintainer: Andy Stewart <lazycat.manatee@gmail.com>
;; Copyright (C) 2019, Andy Stewart, all rights reserved.
;; Created: 2019-05-16 21:26:09
;; Version: 2.0
;; Last-Updated: 2019-07-23 16:18:21
;;           By: Andy Stewart
;; URL: http://www.emacswiki.org/emacs/download/snails.el
;; Keywords:

  (interactive)
  ;; Delete frame first.
  (delete-frame snails-frame)
  (setq snails-frame nil)
  ;; Kill all subprocess and process buffers.
  (maphash
   (lambda (name process)
