chiark / gitweb /
journalctl: do not ellipsize when using pager
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 Jul 2012 05:35:08 +0000 (07:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Jul 2012 15:20:58 +0000 (17:20 +0200)
commit92a1fd9e95954a557d6fe27b56f5ef1b89fc2f5e
tree58cce02cda2c254c7c7cfa54f98213d1a33ce04d
parent085d71209ba32c1e4e72ec031536be892054352e
journalctl: do not ellipsize when using pager

If a pager is used, ellipsization is redundant — the pager does
that better by hiding the part that cannot be shown. Pager's advantage
is that the user can press → to view the hidden part of a message,
and then ← to return.
src/journal/journalctl.c
src/shared/logs-show.c
src/shared/logs-show.h