Skip to content

Conversation

@benjamin051000
Copy link
Contributor

@benjamin051000 benjamin051000 commented Apr 21, 2025

main.rs is an amalgamation of CLI and GUI code. Separate it out: GUI logic gets its own file since it's several functions. The CLI is one function so it can stay in main I guess.

@benjamin051000 benjamin051000 force-pushed the separate-gui-logic branch 2 times, most recently from 75d9c01 to c39031b Compare April 21, 2025 21:44
@benjamin051000 benjamin051000 marked this pull request as ready for review April 21, 2025 21:46
@louis-e
Copy link
Owner

louis-e commented Apr 26, 2025

Good point, the two seperate functions for CLI and GUI were already bothering me - this looks much cleaner. Code looks good to me, were you able to test the GUI? I think you mentioned once that you are only using the CLI - but I'm not sure anymore if that was you or someone else. Otherwise I'll test it real quick :)

@benjamin051000
Copy link
Contributor Author

I actually have the ability to test GUI now! I can't remember if I tested it but I will.

@benjamin051000
Copy link
Contributor Author

benjamin051000 commented Apr 27, 2025

Okay, just ran it (in both CLI and GUI) with 42.335390 -71.041782 42.338166 -71.035280 and it seems to generate fine in both cases!

@louis-e
Copy link
Owner

louis-e commented May 1, 2025

Amazing, thanks a lot Benjamin! Sorry for the slight delay, I will merge this asap - not later than tomorrow. Very much appreciated🙏

@louis-e louis-e merged commit 3c41be1 into louis-e:main May 1, 2025
3 checks passed
@benjamin051000 benjamin051000 deleted the separate-gui-logic branch May 5, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants