jp: replace no_lf argument by end in disp (same as in print)
This commit is contained in:
parent
883a07c591
commit
f4c7f5e55e
1 changed files with 24 additions and 25 deletions
|
|
@ -194,9 +194,10 @@ class InputCommon(base.CommandBase):
|
|||
error=True,
|
||||
)
|
||||
self.host.quit(C.EXIT_DATA_ERROR)
|
||||
end = '\n' if self.args.debug else ' '
|
||||
self.disp(
|
||||
A.color(C.A_HEADER, _("command {idx}").format(idx=self.idx)),
|
||||
no_lf=not self.args.debug,
|
||||
end = end,
|
||||
)
|
||||
stdin = "".join(self._stdin)
|
||||
if self.args.debug:
|
||||
|
|
@ -226,7 +227,7 @@ class InputCommon(base.CommandBase):
|
|||
)
|
||||
self.disp("\n")
|
||||
else:
|
||||
self.disp(" (" + ", ".join(self._values_ori) + ")", 2, no_lf=True)
|
||||
self.disp(" (" + ", ".join(self._values_ori) + ")", 2, end=' ')
|
||||
args = [sys.argv[0]] + self.args.command + self._opts + self._pos
|
||||
p = await asyncio.create_subprocess_exec(
|
||||
*args,
|
||||
|
|
|
|||
Loading…
Reference in a new issue