[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache b7ea44d9e9 1/2: Disable dtach from redrawing
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache b7ea44d9e9 1/2: Disable dtach from redrawing |
Date: |
Sun, 20 Mar 2022 09:57:28 -0400 (EDT) |
branch: externals/dtache
commit b7ea44d9e9c5c63f379f0dd8161cfde7a8c97d6e
Author: Rose Osterheld <dev@roeli.org>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Disable dtach from redrawing
Normally, dtach will set the redraw flag to `none`, because dtache
doesn't run programs in a terminal. If dtache-env is edited to use the
`script` command, though, dtach will redraw using the ctrl_l
method. Emacs doesn't handle this character well, so we should disable
it for a more uniform experience
---
dtache.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dtache.el b/dtache.el
index c1e79c6a69..980a5e5410 100644
--- a/dtache.el
+++ b/dtache.el
@@ -789,18 +789,19 @@ Optionally CONCAT the command return command into a
string."
(mapconcat #'identity
`(,dtache-dtach-program
,dtach-arg
- ,socket)
+ ,socket
+ "-r none")
" ")
- `(,dtach-arg ,socket))
+ `(,dtach-arg ,socket "-r none"))
(if concat
(mapconcat #'identity
`(,dtache-dtach-program
,dtach-arg
- ,socket "-z"
+ ,socket "-z" "-r none"
,dtache-shell-program "-c"
,(shell-quote-argument (dtache--dtache-command
session)))
" ")
- `(,dtach-arg ,socket "-z"
+ `(,dtach-arg ,socket "-z" "-r none"
,dtache-shell-program "-c"
,(dtache--dtache-command session)))))))