mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-06 16:57:03 +08:00
Update changelog
This commit is contained in:
parent
d7cbfef11c
commit
63bef33999
@ -26,12 +26,12 @@
|
|||||||
- Switched to using estimated display width in precision. For example:
|
- Switched to using estimated display width in precision. For example:
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
fmt::print("{:.4}\n1234\n", "🐱🐱🐱");
|
fmt::print("|{:.4}|\n|1234|\n", "🐱🐱🐱");
|
||||||
```
|
```
|
||||||
|
|
||||||
prints
|
prints
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
because `🐱` has an estimated width of 2
|
because `🐱` has an estimated width of 2
|
||||||
(https://github.com/fmtlib/fmt/issues/4272,
|
(https://github.com/fmtlib/fmt/issues/4272,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user