mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +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
Notes:
sideshowbarker
2024-07-18 03:23:00 +09:00
Author: https://github.com/demostanis
Commit: a194303948
Pull-request: https://github.com/SerenityOS/serenity/pull/15115
Reviewed-by: https://github.com/timschumi
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