mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
Userland: Add pager option to man and use less by default
This commit is contained in:
parent
c6fa2f196a
commit
1ec061d666
2 changed files with 57 additions and 2 deletions
|
@ -288,6 +288,8 @@ static String get_key_sequence()
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
VERIFY(isatty(STDOUT_FILENO));
|
||||
|
||||
char const* filename = "-";
|
||||
char const* prompt = "?f%f :.(line %l)?e (END):.";
|
||||
bool dont_switch_buffer = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue