4 ms·
I really like this, but I wish it would have some kind of linewrapping support to avoid messages like this: $ mdp README.md Error: Terminal size 120x41 too sma
by heroprotagonist 12y ago
I really like this, but I wish it would have some kind of linewrapping support to avoid messages like this:
$ mdp README.md
Error: Terminal size 120x41 too small. Need at least 355x97.
- fnbr 12y agoIf that's actually an issue, couldn't you just wrap the output in par [1] ? [1] http://en.wikipedia.org/wiki/Par_(command) http://en.wikipedia.org/wiki/Par_(command)
- heroprotagonist 12y agoNope.. It seems to use ncurses for terminal emulation. I did try, though: $ mdp README.md | par Error: Terminal size 211x55 too small. Need at least 355x97.
- fnbr 12y agoSorry, that's my mistake. I meant inserting it in mdp itself, as I thought mdp was a shell script. As mdp is written in C my suggestion doesn't apply.