Comments (3)
Thanks for the feedback. You are right, I need to restore the previous state correctly.
from sharprompt.
Actually it looks like if I set this immediately after the prompt then it works again:
var kinds = Prompt.MultiSelect<BuildKind>(...);
Console.TreatControlCAsInput = false;
So it seems like it would be nice if Sharprompt would store whether that was true or false as its being called and reset it back to its original state after its done being called.
from sharprompt.
So here basically:
It seems like in the dispose method it needs to set it back, but not to false blindly but rather to what it was before the default console driver took control.
from sharprompt.
Related Issues (20)
- Consistent default value hinting
- Thanks for making this awesome program HOT 1
- Add auto completion system HOT 3
- ProgressBar primitive? HOT 1
- Configurable strings for prompt messages/keys HOT 3
- Manually cancel/reset open forms HOT 5
- ArgumentOutOfRangeException when input exceeds console buffer HOT 3
- How make it is runing Framework 3.5 ? HOT 1
- Check Console.IsOutputRedirected before setting console window related properties HOT 1
- Support the Home and End keys for navigating in text input
- Support navigating and deleting word-by-word with Control in InputForm
- Request new release with German localization HOT 2
- Ctrl + V (insert) does not work anymore since 2.3.3 HOT 8
- Selection: Jump to next page when last entry reached HOT 1
- Select prompt erroring out before selection HOT 1
- Resizing new Windows Terminal during active selection prompt causes exception HOT 1
- Support for Native AOT
- Filtered Select return error even when a single entry left HOT 1
- Suggestion: make this tool System.CommandLine friendly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharprompt.