 //
 
 import Foundation
-import MJRefresh
+import ESPullToRefresh
 import SwViewCapture
 
 class ConsolePrintViewController: UIViewController {

        self.view.addSubview(self.recordTableView)
        self.view.addSubview(self.inputField)
        
        self.recordTableView.mj_header = MJRefreshNormalHeader(refreshingBlock: { [weak self] in
            guard let sself = self else {
                return
            }

            if result == true {
                sself.recordTableView.reloadData()
            }
            sself.recordTableView.es_stopPullToRefresh()
        }
        
        NotificationCenter.default.addObserver(self,
                                               selector: #selector(ConsolePrintViewController.keyboardWillShow(noti:)),
