Commit Graph

145 Commits

Author SHA1 Message Date
raul 17bf35e591 Figure out way better choice highlighting 2024-05-16 11:27:09 +02:00
raul d4230db74f Select individual lines from buffer 2024-05-16 11:12:44 +02:00
raul 39727a66ae Practicing UI for "tune" project 2024-05-16 10:48:34 +02:00
raul c98136caa8 Add the actual test file 2024-05-12 09:32:23 +02:00
raul b0e0884020 Add unit-testing exercise 2024-05-10 08:57:55 +02:00
raul a6de42db31 Add template practice exercise 2024-05-04 11:30:37 +02:00
raul 81b210b338 Parsing nested JSON using nested structs 2024-04-29 08:38:25 +02:00
raul a6daa7b8e7 Practice parsing json and nested structs 2024-04-28 10:13:51 +02:00
raul 3c56a83b0f Finish cleaner chat server 2024-04-25 10:30:10 +02:00
raul 11f600fd8f Update project name 2024-04-25 10:29:47 +02:00
raul f7a69132ce Update LICENSE 2024-04-25 10:29:20 +02:00
raul bc65b98141 Update dependencies 2024-04-25 10:28:53 +02:00
raul 6cb6ff1103 Update client 2024-04-25 10:24:27 +02:00
raul 7248c4d30c Introduce basic chat functionality
I have yet to develop multi-user chats
2024-04-25 09:04:27 +02:00
raul 7cfd2e87d8 Fix client IP parameter not working 2024-04-25 09:03:56 +02:00
raul b4147d6008 Client tweaks 2024-04-24 16:14:44 +02:00
raul dff54a8d0b Add interface to be refactored 2024-04-23 09:58:07 +02:00
raul 15ea54b5ae Add ability to receive username 2024-04-23 08:30:36 +02:00
raul ed54642110 Add client to project 2024-04-23 08:00:07 +02:00
raul 09a9f9efb7 Create server structure 2024-04-23 07:59:38 +02:00
raul a0b0332cd4 Update comments and dependencies 2024-04-23 07:58:54 +02:00
raul c4302aea1a Organize files and implement clean port selection 2024-04-22 08:21:59 +02:00
raul 3bfe744b8d Add Cobra and start codebase refactoring 2024-04-22 08:05:34 +02:00
raul 6a75e7cd41 Add chat-tests
Planning to rewrite mini-chat from the ground up
2024-04-21 19:45:32 +02:00
raul e16bc31a11 Add extra handlers 2024-04-20 09:29:30 +02:00
raul 1f23019846 Add http-server exercise 2024-04-19 07:51:21 +02:00
raul 1a36774ee3 Add script library exercise 2024-04-18 12:51:00 +02:00
raul 829a84fabb Improve star-shapes-mk2 2024-04-18 10:34:39 +02:00
raul b8fe0a216b Cleaner interface exercise implementations 2024-04-18 09:10:30 +02:00
raul 725071ded5 Add star-shapes-mk2 exercise
Now improved using methods and interfaces!
2024-04-17 10:07:09 +02:00
raul fb05399eca Add json + interfaces exercise 2024-04-16 08:54:21 +02:00
raul f240e98da4 Add interfaces exercise 2024-04-16 08:14:52 +02:00
raul baa3b77552 Improved methods exercise with custom types 2024-04-15 11:49:18 +02:00
raul 84149fc850 Configure selecting buttons with enter and tab 2024-04-15 10:01:49 +02:00
raul 313d22fd64 Add select-buttons exercise 2024-04-15 09:00:48 +02:00
raul 7c73e03d60 Practicing methods 2024-04-15 08:30:10 +02:00
raul 3921e103a5 Add "Connected users" view 2024-04-12 08:37:48 +02:00
raul ae2477dc77 Clean up tcell exercise
Tcell is a tad bit too low level of an API for me, I'll just stick with
Gocui until I need lower-level control
2024-04-12 08:21:45 +02:00
raul ac3ded6e9a Add error handling to WASD inputs
Can't believe I forgot about that
2024-04-11 15:19:04 +02:00
raul 3eacb27315 Added wasd-game exercise
I am most definitely getting the hang of the Gocui library, this is fun
2024-04-11 08:41:58 +02:00
raul 7d33ba18fc Clean up interface and simulate CLI chat client 2024-04-11 07:59:56 +02:00
raul 23a65fcb01 Modifying a view from another one 2024-04-10 16:02:38 +02:00
raul d93be2b37b Editor properly empties text after hitting enter
Realized I could use v.SetCursor and v.Clear to easily control the view
2024-04-10 09:01:55 +02:00
raul 06b23f99c8 Starting cleaner TUI exercise 2024-04-10 08:38:44 +02:00
raul 226ff03093 Create tiny counter within quit view 2024-04-09 20:16:30 +02:00
raul 01e9e7e2db Finally figured out how to read view contents
I think I'm finally getting the hang of Gocui, it's pretty interesting
how it separates each view into a different section for the layout
function, also went ahead and separated the keybindings into their own
function, and yes I'm stealing from the _examples folder of the official
project, it's really helpful okay?
2024-04-08 08:23:18 +02:00
raul 8acdc82081 Figured out how to input data within views 2024-04-07 09:58:34 +02:00
raul faa95c2248 Added quit button widget to exercise 2024-04-06 10:14:33 +02:00
raul 99c053115e Practice using coordinates for adding textboxes 2024-04-05 12:11:12 +02:00
raul 5edb80e54a Add gocui library practice exercise 2024-04-04 09:39:37 +02:00