66 "github.com/spf13/cobra"
77
88 "github.com/y3owk1n/neru/internal/config"
9- "github.com/y3owk1n/neru/internal/config/loader"
109 "github.com/y3owk1n/neru/internal/domain/parity"
1110)
1211
@@ -23,7 +22,7 @@ const platformSupportRow = "platform_support"
2322// One load for all of them: two would be two chances to disagree about which
2423// file is even being judged, and the load is what discovers that file.
2524func doctorConfigLoad () * config.LoadResult {
26- svc := loader . NewService ( config . DefaultConfig (), "" , nil , nil )
25+ svc := clientConfigLoader ( )
2726
2827 path := configPath
2928 if path == "" {
@@ -34,7 +33,8 @@ func doctorConfigLoad() *config.LoadResult {
3433}
3534
3635// printPlatformSupportCheck reports the options, actions and mode flags this
37- // configuration writes that do nothing on this platform.
36+ // configuration writes that do nothing on this platform or on the display
37+ // backend it is running.
3838//
3939// It never fails the doctor. An inert word is not a broken configuration — the
4040// same file is meant to work on every platform, which is why writing one is a
@@ -62,7 +62,11 @@ func printPlatformSupportCheck(cmd *cobra.Command, loadResult *config.LoadResult
6262 return
6363 }
6464
65- cmd .Printf (" ⚠️ %-24s %d %s nothing on %s (written and ignored; the daemon runs)\n " ,
65+ // "This session" rather than the platform: the list carries the words the
66+ // display backend cannot honor beside the ones the platform cannot, and
67+ // passthrough on X11 does nothing here without doing nothing on Linux.
68+ cmd .Printf (
69+ " ⚠️ %-24s %d %s nothing on this %s session (written and ignored; the daemon runs)\n " ,
6670 platformSupportRow ,
6771 len (loadResult .Inert ),
6872 pluralSettingsDo (len (loadResult .Inert )),
0 commit comments