External display turns off when I close the MacBook
When I connect the MacBook to an external display with the appropriate HDMI cable and i close the macbook, it goes to sleep disabling the external display i'm using. Closing the macbook is in fact more comfortable. Do I have to keep the MacBook open to use it on an external display? How to fix it? Thanks
MacBook Pro 16 M1 Pro, Ventura 13.2