diff --git a/src/xsprintf/tsprintf.php b/src/xsprintf/tsprintf.php index aea1e7f4..7b8e8934 100644 --- a/src/xsprintf/tsprintf.php +++ b/src/xsprintf/tsprintf.php @@ -48,6 +48,11 @@ function xsprintf_terminal($userdata, &$pattern, &$pos, &$value, &$length) { $value = PhutilTerminalString::escapeStringValue($value, false); $type = 's'; break; + case '?': + $value = tsprintf('** ? ** %s', $value); + $value = PhutilTerminalString::escapeStringValue($value, false); + $type = 's'; + break; case 'd': $type = 'd'; break;