As of 2024 on windows, instead of pressing ctrl + c as you just mentioned, instead use CTRl + Backspace. This will delete the row. This replaced CTRL + C for me when working in the psql shell.