]> git.lizzy.rs Git - micro.git/commit
Fix path escaping on Windows
authorZachary Yedidia <zyedidia@gmail.com>
Sat, 27 Jun 2020 21:59:28 +0000 (17:59 -0400)
committerZachary Yedidia <zyedidia@gmail.com>
Sat, 27 Jun 2020 21:59:28 +0000 (17:59 -0400)
commitf5c6f66c8f3f260e24441853e879c38b87e81375
tree0f7d999f4238534d81de550b0eb4fc01fee17ed4
parent3da0415ef10d846ed797bc0db1e6f308e0673376
Fix path escaping on Windows

Windows does not allow ':' in a path, but for some reason previous
versions still worked, except the file for storing buffer info
(which had a ':' in the name) was not viewable except by opening
it with micro.

Ref #1736
internal/util/util.go