• M
    virsh: Honor reedit opts printing to a function · b00469b6
    Michal Privoznik 提交于
    When printing reedit options we make stdin raw. However,
    this results in stdout being raw as well. Therefore we need
    to return carriage when doing new line. Unfortunately,
    '\r' cannot be part of internationalized messages hence
    we must move them to formatting string which then in turn
    become huge and disarranged. To solve this, a new function
    is introduced which takes variable string arguments and
    prepend each with "\r\n" just before printing.
    b00469b6
virsh.c 594.7 KB