Comments (3)
Yes. For example, in the examples there is a way to turn color on and off. It would make sense if that was per session so if 2 users were connected it only affected their session. To accomplish that it would make sense to store a value related to the session which could both be set by a menu item and also used by other menu items.
from cli.
Do you mean adding some sort of identifier of the session in the handlers to store in the application session related information?
from cli.
@jhndnnqsc right, it seems a quite reasonable use case.
I'll add this feature in the roadmap.
Thank you very much.
from cli.
Related Issues (20)
- Run short command without autocompletion
- Missing echo after paste of command HOT 3
- class asio::io_context::work’ has no member named ‘reset’ HOT 3
- can NOT connect telnet HOT 1
- find_package(cli) doesn't define cli_VERSION HOT 2
- The filesession.cpp example doesn't work
- command parser allows unclosed quoted strings (in the example complete.cpp) HOT 1
- Is it possible to pipe input?
- Dynamically change menu prompt
- Text pasted from the clipboard doesn'r get into the cli prompt HOT 1
- Getting command by name HOT 1
- Prompt label access HOT 3
- `CliLocalSession` waits for keypress when exiting HOT 4
- Is there any way to add options aftrer input data
- How to add internal command used to enter system shell
- How to specify optional arguments for a CLI handler?
- Bad file descriptor on ARM build HOT 6
- Add SubMenu class HOT 1
- how to trap keypress inside a command?
- Custom handler for wrong commands HOT 1
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 cli.