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:
千川白浪 authored and GitHub committed 2026-12-05 14:12:23 +08:00
commit bd7c9abaa3
22 files changed
+593 -68

No files matched your search

+1 -1
View File
@@ -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)
}