Bill O'Reilly on Fox News. Fox News President Donald Trump may be making decisions based on what he watches on Fox News.

Late on Tuesday, the president tweeted about the gun violence in Chicago, writing, "If Chicago doesn't fix the horrible 'carnage' going on, 228 shootings in 2017 with 42 killings (up 24% from 2016), I will send in the feds!"

Numerous reporters noted that Trump's tweet came shortly after an "O'Reilly Factor" segment on the same topic, which cited the same statistics and even used the word "carnage," a recent favorite noun of Trump's.

Though Chicago has a higher number of gun deaths than any other major city, the number of deaths per capita is notably lower than in other cities because of Chicago's large population. And while the city has attempted to use strict gun laws to curb shootings, about 60% of guns used in shootings last year were purchased out of state.

Tuesday's tweet would hardly be the first time Trump has fired off a proposal in reaction to a TV segment.

Axios confirmed that Trump reads The New York Times and The New York Post, frequently tunes into cable TV — most notably MSNBC's "Morning Joe" and NBC's "Meet The Press" — and will praise or criticize aides after performances on TV.

Many top policymakers have attempted to get their message to Trump via his favorite TV programs.

Appearing on "Morning Joe" on Wednesday, Rep. Elijah Cummings thanked host Joe Scarborough for asking him about how he would work with Trump on reducing prescription drug pricing, and then he spoke directly to the president.

"Joe, I want to thank you all for giving that opening, and to the president, I know you're watching, so I'm looking forward to meeting with you," Cummings said.