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

Use tui-input to handle input buffer #397

Merged
merged 1 commit into from
Nov 5, 2021
Merged

Conversation

sayanarijit
Copy link
Owner

@sayanarijit sayanarijit commented Nov 4, 2021

New message: UpdateInputBufferFromKey to replace most
BufferInputFromKey usage.

This adds more functionalities to the input buffer and reduces
boilerplate code.

This commit also deprecates config.general.cursor as the cursor will
be set by the terminal from now.

Repo: https://github.com/sayanarijit/tui-input

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 4, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 071485f
Status: ✅  Deploy successful!
Preview URL: https://b5cc940f.xplr.pages.dev

View logs

@sayanarijit sayanarijit force-pushed the improve/input-buffer branch 4 times, most recently from 720f356 to 672dcc5 Compare November 4, 2021 15:49
@dtomvan
Copy link
Contributor

dtomvan commented Nov 4, 2021

Works properly now 👍. I'll have a look at the code tomorrow.

@maximbaz
Copy link
Contributor

maximbaz commented Nov 4, 2021

Thanks for the ping, works great! Nice work 😉 👍

@sayanarijit sayanarijit force-pushed the improve/input-buffer branch 2 times, most recently from 95edda8 to f65859a Compare November 5, 2021 04:28
New message: `UpdateInputBufferFromKey` to replace most
`BufferInputFromKey` usage.

This adds more functionalities to the input buffer and reduces
boilerplate code.

This commit also deprecates `config.general.cursor` as the cursor will
be set by the terminal from now.

Repo: https://github.com/sayanarijit/tui-input
@sayanarijit
Copy link
Owner Author

Merging this. Let me know if you find anything.

@sayanarijit sayanarijit merged commit ca6cefb into main Nov 5, 2021
@sayanarijit sayanarijit deleted the improve/input-buffer branch November 5, 2021 04:50
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.

3 participants