Move per sections in help message
This commit is contained in:
parent
b5467ae38a
commit
3cdafe9be1
Notes:
git
2023-06-05 15:00:00 +00:00
5
ruby.c
5
ruby.c
@ -1801,7 +1801,10 @@ rb_f_chomp(int argc, VALUE *argv, VALUE _)
|
||||
static void
|
||||
setup_pager_env(void)
|
||||
{
|
||||
if (!getenv("LESS")) ruby_setenv("LESS", "-R"); // Output "raw" control characters.
|
||||
if (!getenv("LESS")) {
|
||||
// Output "raw" control characters, and move per sections.
|
||||
ruby_setenv("LESS", "-R +/^[A-Z].*");
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
|
Loading…
x
Reference in New Issue
Block a user