This website requires JavaScript.
Explore
Help
Sign In
iSharkFly-Docs
/
packer-cn
Watch
1
Star
0
Fork
You've already forked packer-cn
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
15,283
Commits
40
Branches
99
Tags
102
MiB
f672f5bd9b
Commit Graph
2 Commits
Author
SHA1
Message
Date
Adrien Delorme
f91429f256
fix goimports
2020-02-06 18:18:03 +01:00
Ali Rizvi-Santiago
5726927cba
Moved the progress bar out of packer.Ui and unlinked it out of all the packer.Ui implementations. Split up the terminal-related functions into a separate terminal.go and calculate the progress bar width by traversing through packer.Ui to avoid the issue with github.com/ugorji/go/codec serializing private members (or unsafe pointers) of structs. Shuffled some arguments around in getConsoleScreenBufferInfo in common/terminal_windows.go so that the interface forces the user to correctly declare a _CONSOLE_SCREEN_BUFFER_INFO type.
2018-08-20 21:55:18 -05:00