Gives error while using conio.h Library in c

How can i use “<conio.h>” Library in c ,when i try to use it throws error… I can’t use keyhit() function…

conio.h doesn’t exist on linux but you can use ncurses instead. You’d have to add it via Nix first. In shell:

sed -i 's/];/  pkgs.ncurses.dev\n  &/' replit.nix