这是indexloc提供的服务,不要输入任何密码
Skip to content

hex (or oct) or other stream manipulators will cause unexpected ANSI escape codes to be generated #87

@jogloran

Description

@jogloran

Because setColor is implemented simply by inserting an int into the stream, the output will be affected by hex or oct or potentially other stream manipulators such as setw. Should the stream manipulator state be stored with ios.copyfmt and loaded after the escapes have been printed?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions