mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:27:35 +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);
|
out(m_tty, "{}", m_filename);
|
||||||
break;
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
out(m_tty, "{}", m_line);
|
out(m_tty, "{}", m_line + 1);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
out(m_tty, "?");
|
out(m_tty, "?");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue