branch: externals/sql-beeline commit b7ffff9404d93f569e3c2bc59db1be6e848c894f Author: Filipp Gunbin <fgun...@fastmail.fm> Commit: Filipp Gunbin <fgun...@fastmail.fm>
Set comint-process-echoes to t --- sql-beeline.el | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sql-beeline.el b/sql-beeline.el index 4b6fbf9fe1..90dbba08a3 100644 --- a/sql-beeline.el +++ b/sql-beeline.el @@ -4,8 +4,8 @@ ;; Author: Filipp Gunbin <fgun...@fastmail.fm> ;; Maintainer: Filipp Gunbin <fgun...@fastmail.fm> -;; Version: 0.1 -;; Keywords: sql, hive, beeline, hiveserver2 +;; Version: 0.2 +;; Keywords: sql, hive, beeline, hiveserver2, impala ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -69,7 +69,14 @@ ;; every few milliseconds - we don't want it because it ;; just makes garbage. (comint-terminfo-terminal "")) - (sql-comint product params buf-name))) + (sql-comint product params buf-name) + (add-hook 'sql-login-hook #'sql-beeline--setup-interactive-mode))) + +(defun sql-beeline--setup-interactive-mode () + (remove-hook 'sql-login-hook #'sql-beeline--setup-interactive-mode) + + (setq comint-process-echoes t)) + ;;;###autoload (defun sql-beeline (&optional buffer)