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

Request to add callback for area_printer.Update #580

Open
copydataai opened this issue Oct 27, 2023 · 2 comments
Open

Request to add callback for area_printer.Update #580

copydataai opened this issue Oct 27, 2023 · 2 comments
Labels
proposal Proposal to add a new feature to pterm waiting for response Waiting for author to respond

Comments

@copydataai
Copy link

Hi, I was trying to implement a callback to InteractiveSelect using the area, so I implemented that in area_printer.Update to every Update in area_printer.

Pull request

@copydataai copydataai added the proposal Proposal to add a new feature to pterm label Oct 27, 2023
@MarvinJWendt
Copy link
Member

Hi, sorry for the late reply. I am not exactly sure, why a callback is needed. Could you please explain, what you were trying to do, that only works with a callback? Thanks!

@MarvinJWendt MarvinJWendt added the waiting for response Waiting for author to respond label Feb 4, 2024
@copydataai
Copy link
Author

@MarvinJWendt, it doesn't necessarily have to be implemented how I did. I've been thinking of using channels to communicate the changes and activate a callback.
The problem: I'm using Interactive Select to build altie to make changes with every iteration that the user makes inside the CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal to add a new feature to pterm waiting for response Waiting for author to respond
Projects
None yet
Development

No branches or pull requests

2 participants