How can I use one monitor with two computers?

Episode 1544 (1:30:03)

Charisse from Lancaster, CA
KVM Switch

Charisse wants to know if she can connect a new Mac Mini to her Samsung TV. Leo says it will if she has the same connectors on that TV, but it won't really be that crisp.

Can she use one keyboard and mouse for both the Mac Mini and her Surface? Leo says she can, if she gets a KVM switch. She'll plug them both into the output plug, then plug everything else into it. Then she can use a button to move back and forth between the two computers.