Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
voltagex_
on Oct 26, 2020
|
parent
|
context
|
favorite
| on:
Developing a CLI Music Player in C# using Terminal...
Something like
https://github.com/tonerdo/readline
?
oaiey
on Oct 26, 2020
[–]
Too simplistic. yo generator or npm init for example having selections, dropdowns and things like that (I just referenced them out of my head).
animal_spirits
on Oct 26, 2020
|
parent
[–]
If you know python, there is a package called prompt-toolkit which does what you are looking for
https://github.com/prompt-toolkit/python-prompt-toolkit
oaiey
on Oct 26, 2020
|
root
|
parent
[–]
Yeah .. something like that is missing in C# land (IMHO)
jetti
on Oct 26, 2020
|
root
|
parent
|
next
[–]
Depending on how much effort you want to put into it, you may be able to use prompt-toolkit with IronPython (would have to use version 2.0 of prompt-toolkit since that supports Python 2.x) and then reference that in your C# applications
voltagex_
on Oct 26, 2020
|
root
|
parent
|
prev
[–]
It may be easier to implement now with the improvements to conhost and now Windows Terminal
oaiey
on Oct 27, 2020
|
root
|
parent
[–]
Sounds like a damn new project to do :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: