90s

Minimalist, customizable shell written in C99 with syntax highlighting
git clone https://codeberg.org/night0721/90s
Log | Files | Refs | README | LICENSE

commit 94694ce2f7d15d4dc8ad4b19ef2e000e8bc74e51
parent 4c47f02034318ea9f134a0d02e852026422ae1d8
Author: night0721 <[email protected]>
Date:   Thu,  1 Feb 2024 19:14:32 +0000

comments

Diffstat:
Mhistory.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/history.c b/history.c @@ -112,7 +112,7 @@ char **get_all_history() { fprintf(stderr, "rush: Error allocating memory\n"); exit(EXIT_FAILURE); } - char buffer[RL_BUFSIZE]; // Adjust the buffer size as needed + char buffer[RL_BUFSIZE]; int line_count = 0; while (fgets(buffer, sizeof(buffer), history_file) != NULL) {