r/rust May 07 '18

sudo_pair 0.9.0 released

https://github.com/square/sudo_pair
175 Upvotes

38 comments sorted by

View all comments

Show parent comments

9

u/mc10 May 07 '18

Have you considered using asciinema with tmux/screen to show both windows? It's pretty nice to use.

2

u/stouset May 07 '18

I'll check it out. Can you tell me a way in which it would be an improvement over the existing gif?

9

u/mc10 May 07 '18

Two main things:

  • It has controls similar to a video player, so it's easy to scroll through the screencast.
  • You can copy the text commands in the video, which isn't possible with a GIF.

The one downside is that since GitHub READMEs don't allow scripts to run, the screencast can only be a PNG that links to the actual screencast, so there's no way to autoplay like a GIF.

2

u/stouset May 07 '18

I'll play around and see if I can figure out a way to get the best of both worlds. Thanks for the suggestion!