Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced the port selection input with an interactive menu using Spectre.Console. #9

Merged
merged 5 commits into from
Dec 22, 2024

Conversation

ordinho
Copy link
Contributor

@ordinho ordinho commented Dec 21, 2024

Not sure if this works as it's supposed to, since I only have one COM port showing up. Test if possible.
Will close #4

EDIT: I messed up something with the commits and now the CancellationToken is also included in this request and in the interactive menu branch too

@levimcgomes
Copy link
Member

I'll pull ASAP and see if I can fix the branches, hopefully some rebasing and squashing will do it. I might need to force push, in that case I'll let you know beforehand.

@levimcgomes
Copy link
Member

Fixed. For future reference, I used an interactive rebase so only the right commit was left in each branch. Unfortunately, I'll have to force push for these changes to take effect.

Program.cs Outdated Show resolved Hide resolved
Program.cs Outdated Show resolved Hide resolved
Copy link
Member

@levimcgomes levimcgomes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Also tested it with two devices plugged in, the UX is great!

@levimcgomes levimcgomes merged commit 6afe9e3 into main Dec 22, 2024
4 checks passed
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.

Interactive select for serial port
2 participants