var
vLastInputInfo: TLastInputInfo;
begin
vLastInputInfo.cbSize := SizeOf(TLastInputInfo);
GetLastInputInfo(vLastInputInfo);
Caption := Format('用戶已經%d秒沒有動鍵盤鼠標了',
[(GetTickCount - vLastInputInfo.dwTime) div 1000]);
end;
kubectl config get-contexts kubectl config use-context <context-name> kubectl config current-context