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

Add composite commands #487

Closed
sigmaSd opened this issue Feb 16, 2021 · 2 comments
Closed

Add composite commands #487

sigmaSd opened this issue Feb 16, 2021 · 2 comments

Comments

@sigmaSd
Copy link
Contributor

sigmaSd commented Feb 16, 2021

Hello,

What do you think about adding this command:

enum Cmd {
Composite(Vec<Cmd>),
}

I needed this for the vi o/O commands, and I imagine other complex commands will need it.

Here is an example https://github.com/kkawakam/rustyline/compare/master...sigmaSd:clear_buffer?expand=1

@gwenn
Copy link
Collaborator

gwenn commented Feb 16, 2021

See #418, #306, #466, #342

@sigmaSd
Copy link
Contributor Author

sigmaSd commented Feb 16, 2021

Closing then since the exact same issue was filed #306

@sigmaSd sigmaSd closed this as completed Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants