-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
first_line_not_read
is 0 for new buffer with a message
#2029
Comments
This is more apparent if you enable |
We discussed changing @flashcode proposed replacing the
So When you run When |
Bug summary
If you create a new buffer and print a line to it, without switching to it,
first_line_not_read
is0
. Shouldn't it be1
since you haven't read the line?Steps to reproduce
1. Run
weechat -t -r '/buffer add 2; /command -buffer core.2 * /print 1'
2. Load
hdata.py
and see thatfirst_line_not_read
for the buffer is0
Current behavior
first_line_not_read
is0
for a new unread buffer with only one line.Expected behavior
It's
1
.Suggested solutions
Set
first_line_not_read
to1
when the first line is printed in a buffer.The text was updated successfully, but these errors were encountered: