add simplest terminal

This commit is contained in:
2026-08-11 10:15:20 +03:00
parent e7b345b377
commit 25d35e2294
7 changed files with 65 additions and 15 deletions

View File

@@ -139,7 +139,8 @@ int open_socket(){
#ifdef SERVER
serverproc(ctx, fd);
#else
clientproc(ctx, fd);
if(G.terminal) terminal(ctx, fd);
else clientproc(ctx, fd);
#endif
// newer reached
close(fd);