mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
tools: explain that '^' means 'Ctrl' for console escape sequence
Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
d2954c0729
commit
8faf77baf7
@ -3002,7 +3002,10 @@ cmdRunConsole(vshControl *ctl, virDomainPtr dom,
|
|||||||
}
|
}
|
||||||
|
|
||||||
vshPrintExtra(ctl, _("Connected to domain %s\n"), virDomainGetName(dom));
|
vshPrintExtra(ctl, _("Connected to domain %s\n"), virDomainGetName(dom));
|
||||||
vshPrintExtra(ctl, _("Escape character is %s\n"), priv->escapeChar);
|
vshPrintExtra(ctl, _("Escape character is %s"), priv->escapeChar);
|
||||||
|
if (priv->escapeChar[0] == '^')
|
||||||
|
vshPrintExtra(ctl, " (Ctrl + %c)", priv->escapeChar[1]);
|
||||||
|
vshPrintExtra(ctl, "\n");
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
if (virshRunConsole(ctl, dom, name, flags) == 0)
|
if (virshRunConsole(ctl, dom, name, flags) == 0)
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user