1
Fork 0
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:
demostanis 2022-09-06 20:46:46 +02:00 committed by Sam Atkins
parent 505910aea1
commit a194303948

View file

@ -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, "?");