mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-21 08:50:24 -05:00
11 lines
343 B
Go
11 lines
343 B
Go
package bootcommand
|
|
|
|
const shiftedChars = "~!@#$%^&*()_+{}|:\"<>?"
|
|
|
|
// BCDriver is our access to the VM we want to type boot commands to
|
|
type BCDriver interface {
|
|
SendKey(key rune, action KeyAction) error
|
|
SendSpecial(special string, action KeyAction) error
|
|
// Flush will be called when we want to send scancodes to the VM.
|
|
Flush() error
|
|
}
|