Merge pull request #183 from reiasu2/fix/capture-compat-input-ui
fix(input): adapt to runtimes without --capture and clarify modifier key settings
This commit is contained in:
22 files changed
+593
-68
No files matched your search
@@ -118,7 +118,7 @@ func createMacOSVM(ctx context.Context, cfg *config.Config, loc i18n.Locale, in
|
||||
if err := driver.WriteOwnerDriver(createdDir, driver.BuiltinReimsMacOSDriverID); err != nil {
|
||||
return err
|
||||
}
|
||||
if postSet, ok := reims.PostCreateSetOpts(opts); ok {
|
||||
if postSet, ok := reims.PostCreateSetOptsWithCapture(opts, client.AllowsSetCapture()); ok {
|
||||
if err := client.Set(ctx, postSet, os.Stdout, os.Stderr); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Warning: could not apply post-create defaults: %v\n", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user