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 existing input into editor #4

Open
h5vx opened this issue May 22, 2019 · 0 comments
Open

Add existing input into editor #4

h5vx opened this issue May 22, 2019 · 0 comments

Comments

@h5vx
Copy link

h5vx commented May 22, 2019

Hi, nice plugin! I have idea to some enhancement.
I bound /esay to key, and when i input something and press that key, editor is empty. So i want to add existing input to editor.

Seems that all we have to do is to add

write(temp_file_fd, input_line_text, strlen(input_line_text))

after creating temp_file. But i don't sure where to get that input_line_text. Seems that struct hbb_line in mcabber/hbuf.h is what we need, but IDK where to get that struct.

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

No branches or pull requests

1 participant