[Bug] Flickering and incorrect colors when using tui dashboard with native Terminal.app
What's wrong
When using the TUI of the cli with the native Terminal.app it flickers and the displayed colors are incorrect, presumably as the TUI uses a color-space the Terminal.app doesn't support. Other TUIs like bpytop offer a setting to turn off "TrueColor" to be compatible with legacy terminals, maybe WhatCables TUI could offer the same.
The flickering and incorrect color can be observed in this screen recording
A workarround I found is to highlight something while keeping the mouse button pressed, this way the TUI doesn't flicker.
Mac model
M1 Pro MacBook Pro 14-inch 2021
macOS version
Sequoia 15.7.1 (24G231)
WhatCable version
1.5.0-beta.5
Cable
No response
What's plugged into the other end?
No response
whatcable --json --raw output
{
"adapter" : {
"currentMA" : 5000,
"isWireless" : false,
"source" : "AC",
"voltageMV" : 20000,
"watts" : 100
},
"isDesktopMac" : false,
"ports" : [
{
"billboardDevicePresent" : false,
"bulletGroups" : [
],
"bullets" : [
],
"className" : "AppleTCControllerType11",
"connectionActive" : false,
"headline" : "Nothing connected",
"name" : "Port-MagSafe 3@1",
"pdCapable" : false,
"powerSources" : [
],
"rawProperties" : {
"AccessoryMode" : "0",
"ActiveCable" : "0",
"AppLoaded Count" : "1",
"AuthorizationRequired" : "0",
"AutoMatched" : "0",
"Boot Flags" : "81 07 00 17 0F 1A FE 4B 9F 66 C2 A1",
"BuiltIn" : "1",
"CF VID Status Reg" : "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00",
"CFBundleIdentifier" : "com.apple.driver.AppleHPM",
"CFBundleIdentifierKernel" : "com.apple.driver.AppleHPM",
"ConnectionActive" : "0",
"ConnectionCount" : "0",
"Data Status Reg" : "00 00 00 00 00",
"Description" : "Port-MagSafe 3@1",
"DisplayPortPinAssignment" : "0",
"FW Version" : "00 70 21 00",
"FeaturesEnabled" : "[Power In]",
"FeaturesSupported" : "[Power In]",
"HPDAsserted" : "0",
"IOAccessoryActivePowerMode" : "1",
"IOAccessoryDetect" : "0",
"IOAccessoryID" : "100",
"IOAccessoryManagerPortAuthentication" : "1",
"IOAccessoryManagerSleepPower" : "0",
"IOAccessoryManagerType" : "16387",
"IOAccessoryPowerCurrentLimits" : "[0, 0, 0, 0, 0]",
"IOAccessoryPowerMode" : "3",
"IOAccessoryPrimaryDevicePort" : "261",
"IOAccessorySleepPowerCurrentLimit" : "0",
"IOAccessorySupportedPowerModes" : "[1, 3]",
"IOAccessoryUSBActive" : "1",
"IOAccessoryUSBConnectType" : "0",
"IOAccessoryUSBConnectTypePublished" : "0",
"IOAccessoryUSBModeType" : "4",
"IOClass" : "AppleTCControllerType11",
"IOFunctionParent00000148" : "",
"IOGeneralInterest" : "IOCommand is not serializable",
"IOMatchCategory" : "IODefaultMatchCategory",
"IOMatchedAtBoot" : "1",
"IOPersonalityPublisher" : "com.apple.driver.AppleHPM",
"IOPowerManagement" : "{CapabilityFlags: 32768, CurrentPowerState: 1, DevicePowerState: 1, MaxPowerState: 1}",
"IOProbeScore" : "100",
"IOProviderClass" : "AppleHPMDevice",
"IOUserClientClass" : "IOAccessoryManagerUserClient",
"Metadata" : "{}",
"OpticalCable" : "0",
"Overcurrent Count" : "0",
"Pin Configuration" : "{rx1: 0, rx2: 0, sbu1: 0, sbu2: 0, tx1: 0, tx2: 0}",
"Plug Event Count" : "1",
"PlugOrientation" : "0",
"PortDescription" : "Port-MagSafe 3@1",
"PortNumber" : "1",
"PortType" : "17",
"PortTypeDescription" : "MagSafe 3",
"SOP UVDM Update Count" : "0",
"Status Reg" : "00 00 00 10",
"TransportsActive" : "[]",
"TransportsProvisioned" : "[CC]",
"TransportsSupported" : "[]",
"UserAuthorizationStatus" : "0",
"UserAuthorizationStatusDescription" : "Not Required"
},
"status" : "empty",
"subtitle" : "Plug a cable into Port-MagSafe 3@1 to see what it can do.",
"transports" : {
"active" : [
],
"provisioned" : [
"CC"
],
"supported" : [
]
},
"type" : "MagSafe 3"
},
{
"billboardDevicePresent" : false,
"bulletGroups" : [
{
"header" : "What the cable's e-marker reports",
"lines" : [
],
"source" : "emarker",
"state" : "No e-marker. This cable doesn't advertise its capabilities, so charging is capped at 3A (60W at 20V)."
},
{
"header" : "What your Mac measured",
"lines" : [
"Currently negotiated: 20V @ 5,00A (100W)"
],
"source" : "measured"
},
{
"header" : "What the charger reports",
"lines" : [
"Charger advertises up to 100W"
],
"source" : "charger"
}
],
"bullets" : [
"No e-marker. This cable doesn't advertise its capabilities, so charging is capped at 3A (60W at 20V).",
"Currently negotiated: 20V @ 5,00A (100W)",
"Charger advertises up to 100W"
],
"charging" : {
"bottleneck" : "fine",
"detail" : "Charger and cable are fine. The Mac will draw up to 100W when it needs to.",
"isWarning" : false,
"summary" : "Battery full, not charging"
},
"className" : "AppleTCControllerType10",
"connectionActive" : true,
"device" : {
"pdRevision" : "PD 3.0",
"productID" : 0,
"vendorID" : 0,
"vendorName" : "No vendor reported"
},
"headline" : "Plugged in · battery full",
"name" : "Port-USB-C@1",
"pdCapable" : true,
"powerSources" : [
{
"maxPowerW" : 100,
"name" : "USB-PD",
"negotiated" : {
"currentA" : 5,
"powerW" : 100,
"voltageV" : 20
},
"options" : [
{
"currentA" : 5,
"powerW" : 100,
"voltageV" : 20
}
],
"synthesized" : true
}
],
"rawProperties" : {
"AccessoryMode" : "0",
"ActiveCable" : "0",
"AppLoaded Count" : "1",
"AuthorizationRequired" : "0",
"AutoMatched" : "0",
"Boot Flags" : "81 01 00 17 18 18 2A 00 93 66 B2 A0",
"BuiltIn" : "1",
"CF VID Status Reg" : "00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 01",
"CFBundleIdentifier" : "com.apple.driver.AppleHPM",
"CFBundleIdentifierKernel" : "com.apple.driver.AppleHPM",
"ConnectionActive" : "1",
"ConnectionCount" : "61",
"Data Status Reg" : "81 00 00 00 00",
"Description" : "Port-USB-C@1",
"DisplayPortPinAssignment" : "0",
"FW Version" : "00 70 21 00",
"FeaturesEnabled" : "[TRM, Power In]",
"FeaturesSupported" : "[TRM, Power In]",
"HPDAsserted" : "0",
"IOAccessoryActivePowerMode" : "1",
"IOAccessoryDetect" : "1",
"IOAccessoryID" : "-1",
"IOAccessoryManagerPortAuthentication" : "1",
"IOAccessoryManagerSleepPower" : "0",
"IOAccessoryManagerType" : "16387",
"IOAccessoryPowerCurrentLimits" : "[0, 0, 0, 0, 0]",
"IOAccessoryPowerMode" : "3",
"IOAccessoryPrimaryDevicePort" : "1",
"IOAccessorySleepPowerCurrentLimit" : "0",
"IOAccessorySupportedPowerModes" : "[1, 3]",
"IOAccessoryUSBActive" : "1",
"IOAccessoryUSBConnectString" : "None",
"IOAccessoryUSBConnectType" : "0",
"IOAccessoryUSBConnectTypePublished" : "0",
"IOAccessoryUSBModeType" : "4",
"IOAccessoryUSBSuperSpeedActive" : "0",
"IOClass" : "AppleTCControllerType10",
"IOFunctionParent00000144" : "",
"IOGeneralInterest" : "IOCommand is not serializable",
"IOMatchCategory" : "IODefaultMatchCategory",
"IOMatchedAtBoot" : "1",
"IOPersonalityPublisher" : "com.apple.driver.AppleHPM",
"IOPowerManagement" : "{CapabilityFlags: 32768, CurrentPowerState: 1, DevicePowerState: 1, MaxPowerState: 1}",
"IOProbeScore" : "100",
"IOProviderClass" : "AppleHPMDevice",
"IOUserClientClass" : "IOAccessoryManagerUserClient",
"Metadata" : "{}",
"OpticalCable" : "0",
"Overcurrent Count" : "0",
"Pin Configuration" : "{rx1: 2, rx2: 0, sbu1: 0, sbu2: 0, tx1: 1, tx2: 0}",
"Plug Event Count" : "120",
"PlugOrientation" : "1",
"PortDescription" : "Port-USB-C@1",
"PortNumber" : "1",
"PortType" : "2",
"PortTypeDescription" : "USB-C",
"SOP UVDM Update Count" : "0",
"Status Reg" : "0D 90 0C 10",
"TransportsActive" : "[CC]",
"TransportsProvisioned" : "[CC]",
"TransportsSupported" : "[CC, USB2, USB3, CIO, DisplayPort]",
"TransportsUnauthorized" : "[]",
"UserAuthorizationStatus" : "0",
"UserAuthorizationStatusDescription" : "Not Required"
},
"status" : "batteryFull",
"subtitle" : "",
"thunderboltSwitchIndex" : 0,
"transports" : {
"active" : [
"CC"
],
"provisioned" : [
"CC"
],
"supported" : [
"CC",
"USB2",
"USB3",
"CIO",
"DisplayPort"
]
},
"type" : "USB-C"
},
{
"billboardDevicePresent" : false,
"bulletGroups" : [
],
"bullets" : [
],
"className" : "AppleTCControllerType10",
"connectionActive" : false,
"headline" : "Nothing connected",
"name" : "Port-USB-C@2",
"pdCapable" : true,
"powerSources" : [
],
"rawProperties" : {
"AccessoryMode" : "0",
"ActiveCable" : "0",
"AppLoaded Count" : "1",
"AuthorizationRequired" : "0",
"AutoMatched" : "0",
"Boot Flags" : "81 01 00 17 1F 1F 2A 00 93 66 B2 A0",
"BuiltIn" : "1",
"CF VID Status Reg" : "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00",
"CFBundleIdentifier" : "com.apple.driver.AppleHPM",
"CFBundleIdentifierKernel" : "com.apple.driver.AppleHPM",
"ConnectionActive" : "0",
"ConnectionCount" : "43",
"Data Status Reg" : "00 00 00 00 00",
"Description" : "Port-USB-C@2",
"DisplayPortPinAssignment" : "0",
"FW Version" : "00 70 21 00",
"FeaturesEnabled" : "[TRM, Power In]",
"FeaturesSupported" : "[TRM, Power In]",
"HPDAsserted" : "0",
"IOAccessoryActivePowerMode" : "1",
"IOAccessoryDetect" : "0",
"IOAccessoryID" : "100",
"IOAccessoryManagerPortAuthentication" : "1",
"IOAccessoryManagerSleepPower" : "0",
"IOAccessoryManagerType" : "16387",
"IOAccessoryPowerCurrentLimits" : "[0, 0, 0, 0, 0]",
"IOAccessoryPowerMode" : "3",
"IOAccessoryPrimaryDevicePort" : "258",
"IOAccessorySleepPowerCurrentLimit" : "0",
"IOAccessorySupportedPowerModes" : "[1, 3]",
"IOAccessoryUSBActive" : "1",
"IOAccessoryUSBConnectString" : "None",
"IOAccessoryUSBConnectType" : "0",
"IOAccessoryUSBConnectTypePublished" : "0",
"IOAccessoryUSBModeType" : "4",
"IOAccessoryUSBSuperSpeedActive" : "0",
"IOClass" : "AppleTCControllerType10",
"IOFunctionParent00000145" : "",
"IOGeneralInterest" : "IOCommand is not serializable",
"IOMatchCategory" : "IODefaultMatchCategory",
"IOMatchedAtBoot" : "1",
"IOPersonalityPublisher" : "com.apple.driver.AppleHPM",
"IOPowerManagement" : "{CapabilityFlags: 32768, CurrentPowerState: 1, DevicePowerState: 1, MaxPowerState: 1}",
"IOProbeScore" : "100",
"IOProviderClass" : "AppleHPMDevice",
"IOUserClientClass" : "IOAccessoryManagerUserClient",
"Metadata" : "{}",
"OpticalCable" : "0",
"Overcurrent Count" : "0",
"Pin Configuration" : "{rx1: 12, rx2: 10, sbu1: 3, sbu2: 4, tx1: 11, tx2: 9}",
"Plug Event Count" : "85",
"PlugOrientation" : "0",
"PortDescription" : "Port-USB-C@2",
"PortNumber" : "2",
"PortType" : "2",
"PortTypeDescription" : "USB-C",
"SOP UVDM Update Count" : "0",
"Status Reg" : "00 00 00 10",
"TransportsActive" : "[]",
"TransportsProvisioned" : "[CC]",
"TransportsSupported" : "[CC, USB2, USB3, CIO, DisplayPort]",
"TransportsUnauthorized" : "[]",
"UserAuthorizationStatus" : "0",
"UserAuthorizationStatusDescription" : "Not Required"
},
"status" : "empty",
"subtitle" : "Plug a cable into Port-USB-C@2 to see what it can do.",
"thunderboltSwitchIndex" : 1,
"transports" : {
"active" : [
],
"provisioned" : [
"CC"
],
"supported" : [
"CC",
"USB2",
"USB3",
"CIO",
"DisplayPort"
]
},
"type" : "USB-C"
},
{
"billboardDevicePresent" : false,
"bulletGroups" : [
{
"header" : "What the cable's e-marker reports",
"lines" : [
],
"source" : "emarker",
"state" : "No e-marker read. The cable may have one; macOS usually reads it above 3A or over Thunderbolt."
},
{
"header" : "What your Mac measured",
"lines" : [
"USB 2.0 only (480 Mbps), no high-speed data"
],
"source" : "measured"
}
],
"bullets" : [
"No e-marker read. The cable may have one; macOS usually reads it above 3A or over Thunderbolt.",
"USB 2.0 only (480 Mbps), no high-speed data"
],
"className" : "AppleTCControllerType10",
"connectionActive" : true,
"devices" : [
{
"locationID" : "0x02100000",
"name" : "MagSafe Charging Case",
"productID" : 5021,
"serialNumber" : "J03DWJX2GD",
"speed" : "Full Speed (12 Mbps)",
"usbVersion" : "2.0",
"vendorID" : 1452,
"vendorName" : "Apple Inc."
}
],
"headline" : "Slow USB device or charge-only cable",
"name" : "Port-USB-C@3",
"pdCapable" : true,
"powerSources" : [
],
"rawProperties" : {
"AccessoryMode" : "0",
"ActiveCable" : "0",
"AppLoaded Count" : "1",
"AuthorizationPending" : "0",
"AuthorizationRequired" : "1",
"AutoMatched" : "0",
"Boot Flags" : "81 01 00 17 00 1B FE 6F 9F 66 B2 A0",
"BuiltIn" : "1",
"CF VID Status Reg" : "00 00 00 44 44 00 00 00 00 00 00 00 00 00 00 00 00 00",
"CFBundleIdentifier" : "com.apple.driver.AppleHPM",
"CFBundleIdentifierKernel" : "com.apple.driver.AppleHPM",
"ConnectionActive" : "1",
"ConnectionCount" : "14",
"Data Status Reg" : "71 00 00 00 00",
"Description" : "Port-USB-C@3",
"DisplayPortPinAssignment" : "0",
"FW Version" : "00 70 21 00",
"FeaturesEnabled" : "[TRM, Power In]",
"FeaturesSupported" : "[TRM, Power In]",
"HPDAsserted" : "0",
"IOAccessoryActivePowerMode" : "1",
"IOAccessoryDetect" : "1",
"IOAccessoryID" : "81",
"IOAccessoryManagerAllowedFeatures" : "0",
"IOAccessoryManagerPortAuthentication" : "1",
"IOAccessoryManagerSleepPower" : "0",
"IOAccessoryManagerType" : "16387",
"IOAccessoryPowerCurrentLimits" : "[0, 0, 0, 0, 0]",
"IOAccessoryPowerMode" : "3",
"IOAccessoryPrimaryDevicePort" : "259",
"IOAccessorySleepPowerCurrentLimit" : "0",
"IOAccessorySupportedPowerModes" : "[1, 3]",
"IOAccessoryUSBActive" : "1",
"IOAccessoryUSBConnectString" : "Device",
"IOAccessoryUSBConnectType" : "4",
"IOAccessoryUSBConnectTypePublished" : "4",
"IOAccessoryUSBModeType" : "2",
"IOAccessoryUSBSuperSpeedActive" : "1",
"IOClass" : "AppleTCControllerType10",
"IOFunctionParent00000146" : "",
"IOGeneralInterest" : "IOCommand is not serializable",
"IOMatchCategory" : "IODefaultMatchCategory",
"IOMatchedAtBoot" : "1",
"IOPersonalityPublisher" : "com.apple.driver.AppleHPM",
"IOPowerManagement" : "{CapabilityFlags: 32768, CurrentPowerState: 1, DevicePowerState: 1, MaxPowerState: 1}",
"IOProbeScore" : "100",
"IOProviderClass" : "AppleHPMDevice",
"IOUserClientClass" : "IOAccessoryManagerUserClient",
"Metadata" : "{}",
"OpticalCable" : "0",
"Overcurrent Count" : "0",
"Pin Configuration" : "{rx1: 2, rx2: 0, sbu1: 0, sbu2: 0, tx1: 1, tx2: 0}",
"Plug Event Count" : "28",
"PlugOrientation" : "1",
"PortDescription" : "Port-USB-C@3",
"PortNumber" : "3",
"PortType" : "2",
"PortTypeDescription" : "USB-C",
"SOP UVDM Update Count" : "0",
"Status Reg" : "ED 48 02 10",
"TransportsActive" : "[CC, USB2]",
"TransportsProvisioned" : "[CC, USB2, USB3]",
"TransportsSupported" : "[CC, USB2, USB3, CIO, DisplayPort]",
"TransportsUnauthorized" : "[]",
"UserAuthorizationPending" : "0",
"UserAuthorizationStatus" : "2",
"UserAuthorizationStatusDescription" : "Authorized"
},
"status" : "dataDevice",
"subtitle" : "Only USB 2.0 is active. If you expected high speed, the cable may not support it.",
"thunderboltSwitchIndex" : 2,
"transports" : {
"active" : [
"CC",
"USB2"
],
"provisioned" : [
"CC",
"USB2",
"USB3"
],
"supported" : [
"CC",
"USB2",
"USB3",
"CIO",
"DisplayPort"
]
},
"trm" : [
{
"cacheMiss" : false,
"deviceLocked" : false,
"gracePeriodReason" : 4,
"gracePeriodReasonDescription" : "Device Unlocked",
"identificationRestricted" : false,
"relaxedPeriod" : true,
"state" : 2,
"stateDescription" : "Limited",
"transportRestricted" : false,
"transportSupervised" : true,
"transportType" : "USB2"
},
{
"cacheMiss" : false,
"deviceLocked" : false,
"gracePeriodReason" : 4,
"gracePeriodReasonDescription" : "Device Unlocked",
"identificationRestricted" : false,
"relaxedPeriod" : true,
"state" : 2,
"stateDescription" : "Limited",
"transportRestricted" : true,
"transportSupervised" : true,
"transportType" : "USB3"
}
],
"type" : "USB-C"
}
],
"thunderboltSwitches" : [
{
"className" : "IOThunderboltSwitchType5",
"depth" : 0,
"index" : 0,
"maxPortNumber" : 7,
"modelName" : "iOS",
"ports" : [
{
"adapterType" : "lane",
"generation" : "usb4Tb4",
"linkActive" : true,
"linkBandwidthRaw" : 200,
"linkLabel" : "Up to 20 Gb\/s × 1",
"perLaneGbps" : 20,
"portNumber" : 1,
"rawSpeedCode" : 4,
"rawTargetSpeed" : 12,
"rawWidthCode" : 1,
"rxLanes" : 1,
"socketID" : "1",
"txLanes" : 1
},
{
"adapterType" : "lane",
"generation" : "usb4Tb4",
"linkActive" : true,
"linkBandwidthRaw" : 200,
"linkLabel" : "Up to 20 Gb\/s × 1",
"perLaneGbps" : 20,
"portNumber" : 2,
"rawSpeedCode" : 4,
"rawTargetSpeed" : 12,
"rawWidthCode" : 1,
"rxLanes" : 1,
"socketID" : "1",
"txLanes" : 1
},
{
"adapterType" : "pcieDown",
"linkActive" : false,
"portNumber" : 3
},
{
"adapterType" : "usb3Down",
"linkActive" : false,
"portNumber" : 4
},
{
"adapterType" : "dpIn",
"linkActive" : false,
"portNumber" : 5
},
{
"adapterType" : "dpIn",
"linkActive" : false,
"portNumber" : 6
}
],
"routeString" : 0,
"routerID" : 0,
"supportedSpeedMask" : 12,
"upstreamPortNumber" : 7,
"vendorID" : 1452,
"vendorName" : "Apple Inc."
},
{
"className" : "IOThunderboltSwitchType5",
"depth" : 0,
"index" : 1,
"maxPortNumber" : 7,
"modelName" : "iOS",
"ports" : [
{
"adapterType" : "lane",
"generation" : "usb4Tb4",
"linkActive" : true,
"linkBandwidthRaw" : 200,
"linkLabel" : "Up to 20 Gb\/s × 1",
"perLaneGbps" : 20,
"portNumber" : 1,
"rawSpeedCode" : 4,
"rawTargetSpeed" : 12,
"rawWidthCode" : 1,
"rxLanes" : 1,
"socketID" : "2",
"txLanes" : 1
},
{
"adapterType" : "lane",
"generation" : "usb4Tb4",
"linkActive" : true,
"linkBandwidthRaw" : 200,
"linkLabel" : "Up to 20 Gb\/s × 1",
"perLaneGbps" : 20,
"portNumber" : 2,
"rawSpeedCode" : 4,
"rawTargetSpeed" : 12,
"rawWidthCode" : 1,
"rxLanes" : 1,
"socketID" : "2",
"txLanes" : 1
},
{
"adapterType" : "pcieDown",
"linkActive" : false,
"portNumber" : 3
},
{
"adapterType" : "usb3Down",
"linkActive" : false,
"portNumber" : 4
},
{
"adapterType" : "dpIn",
"linkActive" : false,
"portNumber" : 5
},
{
"adapterType" : "dpIn",
"linkActive" : false,
"portNumber" : 6
}
],
"routeString" : 0,
"routerID" : 1,
"supportedSpeedMask" : 12,
"upstreamPortNumber" : 7,
"vendorID" : 1452,
"vendorName" : "Apple Inc."
},
{
"className" : "IOThunderboltSwitchType5",
"depth" : 0,
"index" : 2,
"maxPortNumber" : 7,
"modelName" : "iOS",
"ports" : [
{
"adapterType" : "lane",
"generation" : "tb3",
"linkActive" : true,
"linkBandwidthRaw" : 100,
"linkLabel" : "Up to 10 Gb\/s × 1",
"perLaneGbps" : 10,
"portNumber" : 1,
"rawSpeedCode" : 8,
"rawTargetSpeed" : 12,
"rawWidthCode" : 1,
"rxLanes" : 1,
"socketID" : "3",
"txLanes" : 1
},
{
"adapterType" : "lane",
"generation" : "tb3",
"linkActive" : true,
"linkBandwidthRaw" : 100,
"linkLabel" : "Up to 10 Gb\/s × 1",
"perLaneGbps" : 10,
"portNumber" : 2,
"rawSpeedCode" : 8,
"rawTargetSpeed" : 12,
"rawWidthCode" : 1,
"rxLanes" : 1,
"socketID" : "3",
"txLanes" : 1
},
{
"adapterType" : "pcieDown",
"linkActive" : false,
"portNumber" : 3
},
{
"adapterType" : "usb3Down",
"linkActive" : false,
"portNumber" : 4
},
{
"adapterType" : "dpIn",
"linkActive" : false,
"portNumber" : 5
},
{
"adapterType" : "dpIn",
"linkActive" : false,
"portNumber" : 6
}
],
"routeString" : 0,
"routerID" : 2,
"supportedSpeedMask" : 12,
"upstreamPortNumber" : 7,
"vendorID" : 1452,
"vendorName" : "Apple Inc."
}
],
"version" : "1.5.0-beta.5"
}
System Information cross-check (optional)
No response
How often does this happen?
Every time
Anything else
No response
@official-Cromatin I haven't looked into this yet. My guess is that Terminal.app only does 256 colours, not the full colour the dashboard draws in, which would explain both the wrong colours and the flicker. Other terminals such as iTerm2 should be fine for now.
A setting to switch full colour off, like bpytop has, is on the list. Could you run echo $TERM $COLORTERM in Terminal.app and paste the result?
Yes, a switch would be great, or even to autodetect it based on what the used terminal supports
This is what various of installed terminal apps I have installed support
| Terminal.app (built-in) | iTerm2 | Ghostty |
|---|---|---|
| xterm-256color | xterm-256color truecolor | xterm-ghostty truecolor |
Thanks @official-Cromatin.
The dashboard now checks what your terminal supports when it starts, as you suggested. If COLORTERM says truecolor or 24bit (iTerm2, Ghostty), you get full colour as before. Otherwise (Terminal.app) it uses the nearest of the standard 256 colours, which every terminal handles.
If a terminal supports full colour but doesn't say so, you can force it on with:
COLORTERM=truecolor whatcable --dashboard
This will be in the next release.
Fixed in v1.5.1.