Fix Bash long startup when run from Eshell

* eat.el (eat--eshell-handle-uic): Acknowledge when input
history file is sent by the shell.
This commit is contained in:
Akib Azmain Turja 2023-09-13 21:53:13 +06:00
parent 48edc9befe
commit 80ce477055
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

3
eat.el
View file

@ -6827,6 +6827,9 @@ PROGRAM can be a shell command."
(let cmd (zero-or-more anything))
string-end)
(eat--set-cmd cmd))
;; UIC e ; I ; 0 ; <t> ST.
((rx string-start "e;I;0;" (zero-or-more anything) string-end)
(eat-term-send-string eat--terminal "\e]51;e;I;0\e\\"))
;; Other sequences are ignored.
))