mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
less: Show correct line number
This patch makes less start at line 1 instead of 0.
This commit is contained in:
parent
505910aea1
commit
a194303948
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ private:
|
|||
out(m_tty, "{}", m_filename);
|
||||
break;
|
||||
case 'l':
|
||||
out(m_tty, "{}", m_line);
|
||||
out(m_tty, "{}", m_line + 1);
|
||||
break;
|
||||
default:
|
||||
out(m_tty, "?");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue