Merge pull request #7 from BetoHydroxyButyrate/master

qrexec-client-vm was stripping the escape chars on output.
This commit is contained in:
Rudd-O 2021-04-29 21:42:02 +00:00 committed by GitHub
commit 17fe998aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View File

@ -142,7 +142,10 @@ PASS_MANAGE = "ruddo.PassManage"
def send_args(rpc, *args, **kwargs):
cmd = ['/usr/lib/qubes/qrexec-client-vm', opts.dest_vm, rpc]
cmd = ['/usr/lib/qubes/qrexec-client-vm',
'--no-filter-escape-chars-stdout',
'--no-filter-escape-chars-stderr',
opts.dest_vm, rpc]
# print(cmd, file=sys.stderr)
return_stdout = kwargs.get("return_stdout", False)
if "return_stdout" in kwargs:

View File

@ -1,4 +1,9 @@
#!/bin/bash
#
# xterm-256color seems to be the qubes default
# for gnome-term and Xterm
#
export TERM="xterm-256color"
set -e
set -o pipefail

View File

@ -1,4 +1,9 @@
#!/bin/bash
#
# xterm-256color seems to be the qubes default
# for gnome-term and Xterm
#
export TERM="xterm-256color"
set -e