aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-26fixed bug when sending message after disconnectRaymaekers Luca
This is because for sending, receiving & closing serverfd variable was used instead of `fds[FDS_SERVER].fd`.
2024-10-26do not allow sending message to disconnected serverRaymaekers Luca
2024-10-26Slicker UIRaymaekers Luca
- added fg_pfx and bg_pfx for the prefix string in tb_printf_wrap() - removed text_len from tb_printf_wrap() in favor of simple loop - added disconnect popup when the server is not connected
2024-10-26Reconnnect to server with threadRaymaekers Luca
2024-10-25Documentation & choreRaymaekers Luca
Includes: - increase the limit - update with sources - remove arena include in send.c
2024-10-25Let user quit when reconnectingRaymaekers Luca
Includes: - renamed exit to quit - do not use else if for polling - only display the error message once
2024-10-25Wrap messages when exceeding available widthRaymaekers Luca
Includes: - Changed fillstr to use wide characters - made the prompt box opaque - More documentation on the code
2024-10-25fixed bug not allow sending empty messageRaymaekers Luca
2024-10-25Bind Ctrl+W to erase word behind cursorRaymaekers Luca
Added keybinds descriptions in the readme.
2024-10-24Initial draft for v2Raymaekers Luca
This is a rewrite of v1 using arena's as memory allocators. The other great difference is using wide strings by default (wchar_t) because that will be needed in the future to print pretty UIs.
2024-10-24Archive code into v1/ directoryRaymaekers Luca
The code was written too fast and I deemed that it would be better to make a new draft.
2024-10-21removed malloc & reallocRaymaekers Luca
2024-10-21add to readmeRaymaekers Luca
2024-10-21Moved common.c to common.hRaymaekers Luca
- fixed bug(server.c): `on` not being 32 bytes - cleanup
2024-10-21Add compile_flagsRaymaekers Luca
2024-10-21Added minimal send implementationRaymaekers Luca
Renamed minirecv.c to recv.c Added build commands to build.sh Added the use of common code
2024-10-21Added common code for messagesRaymaekers Luca
- add: send_message, receive_message functions - change: use u8, u16, u32, where possible - fix: use PORT in server.c
2024-10-21Added README.mdRaymaekers Luca
2024-10-20Added mvp implementations of the server and client for testingRaymaekers Luca
2024-10-19add serialization to file codeRaymaekers Luca
2024-10-19add shared code in common.cRaymaekers Luca
2024-10-17Initial commitRaymaekers Luca