-
Notifications
You must be signed in to change notification settings - Fork 39
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
Some ideas. #13
base: master
Are you sure you want to change the base?
Some ideas. #13
Conversation
… fly; 3. Reboot sxiv if it is closed
Could you explain what coproc is and how it works? I like to know how the code works before merging it :) |
You can learn how coproc works in this page. And I add some annotation to explain it. |
I have finished what I need. If you want to merge these commits, I wiil resolve the conflicts. :) |
@aeghn That looks great! |
I don't think to add everything to one page is a good thing. It will make that page messy. Or could you make a make a diagram to explain ? @sdushantha |
@aeghn Now I get what you did. I thought that the help menu was in a separate terminal window. I just read the code now and realized that in your screenshot, the you have the help menu in a separate terminal window just for the displaying purpose. Just so you know, when you press [CTRL+S], when you are selecting the preview text from the history, the texts with |
@sdushantha I'd like to open a new fzf window to show preview text page or help which just cover the old fzf window without change its status. And I just fixed the bug you mentioned above. If you find any other bugs please tell me. |
Could you put the font info on the right side? And display the help menu in the same way as the font info instead of starting a new fzf session? This way everything would look cleaner :) Thank you for helping out a lot! After we merge this PR |
Everything seems to work well except one small thing... When launching After the fixing the tiny issue I mentioned above, I will merge it :) |
Actually
The result is as expected, But we can make a fake toggle action by modifying That almost succeeded except for the annoying border :( |
How did you did you initially create the info window then? Because in the last commit, you had the info menu/window shown and it would go away when you pressed CTRL+i again. |
Because I think that was a failed attempt so I didn't submit it. In my opinion, if you want to show font info and help message in one window and switch them by shortcuts, it's better to make preview window persist. Or add the option below the font, but this still need you to open preview window manually. Btw, what do you think of the help and information window now? |
I made some minor changes from commit fef95fe: https://0x0.st/i-Oq.sh I think it seems better now. Could you check it out and let me know what you think about it? Also, Im a little confused with the code you wrote because Im not at your level of bash scripting, so just a small heads up that I might ask how something works in the future if I want to tweak it 👍 |
Cool script! Here are some ideas I finished.