mahahahad / Minishell

1 stars 1 forks source link

Changed it to be able to end when EOF is reached. #8

Closed Ali-Danish-72 closed 5 months ago

Ali-Danish-72 commented 5 months ago

You had an infinite loop running that would get input from the stdin. To be able to properly limit it, approach it like get_next_line so that the moment I end it, it will stop and exit cleanly.