facebookresearch / nle

The NetHack Learning Environment
Other
940 stars 114 forks source link

Use pager in read_tty.py by default, like git-diff. #300

Closed heiner closed 2 years ago

heiner commented 2 years ago

Surprisingly tricky to get the proper git-diff behaviour, but also kinda fun: https://github.com/git/git/blob/master/pager.c