yazi-rs / yazi-rs.github.io

Documentation site for Yazi.
https://yazi-rs.github.io
MIT License
19 stars 68 forks source link

docs: add take_std(in|out|err) & random sort #102

Closed AnirudhG07 closed 1 month ago

AnirudhG07 commented 2 months ago

Referring to issue #73, the Command:std(in|out|err) was already present in the docs. So i added the take_std(in|out|err) under the Child sub, in utils.md

If I have misunderstood any part of it, pls do correct! Thanks!

AnirudhG07 commented 2 months ago

Also added write_all and flush in the child. I hope they are fine... (Why is merge showing errors?)

AnirudhG07 commented 2 months ago

Please check #103 before this. the commits here are present in that PR too(mistakenly)

sxyazi commented 2 months ago

Could you add some examples for them please?

AnirudhG07 commented 2 months ago

uh... ill try, it took a while for me to understand that small rust code for it(I m not familiar with rust). I'll update if I am unable too. Rest of the things are correct??

AnirudhG07 commented 2 months ago

I added random sort in keymaps as mentioned in #70 . Is there another place it needs to be added @sxyazi ?

AnirudhG07 commented 1 month ago

Is it possible to merge this branch soon @sxyazi so that I can add some UI components to the docs, as i told before. otherwise the new branch will be built on top of this main and i ll face some issues dealing with commits and all.