I had no idea what I had watched but I remember this show about these people who are stuck inside a mall and can never go outside ever. It really affected me incredibly deeply and filled me with melancholy whenever I thought about it.
Finally in College I was renting old sci-fi and watching it, and as I was watching Logans Run I suddenly realized that it was the show I had seen as a child about the people who couldn't go outside.
A lot of 70s dystopian sci-fi hits pretty hard to be honest. Two more that come off as incredibly prescient are The Network (about a media company that will do anything for viewership) and THX1138 (about people who take drugs to control all their emotions, confess their sins to chatbots, and masturbate to porn every night).