]> git.lizzy.rs Git - rust.git/commit
Fix wrap_str
authortopecongiro <seuchida@gmail.com>
Sat, 17 Jun 2017 07:54:25 +0000 (16:54 +0900)
committertopecongiro <seuchida@gmail.com>
Sat, 17 Jun 2017 07:54:25 +0000 (16:54 +0900)
commit7132814a71199d47570253027bf9804d8f36b81d
tree48e4a5272d6623c974b1e7d70059521623eb520c
parent53273b8547ce39912c016f6573389485b657b4da
Fix wrap_str

Use shape.width for the first line and shape.used_width() for the last line.
src/utils.rs