mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 10:02:22 +02:00
adding TODO to denote the current state of this code
This commit is contained in:
parent
454c346cb4
commit
c9229f73b3
1 changed files with 4 additions and 0 deletions
|
|
@ -1237,6 +1237,10 @@ void textbuffer_view_remove_line(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line)
|
||||||
textbuffer_remove(view->buffer, line);
|
textbuffer_remove(view->buffer, line);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: this works better than the existing /lastlog logic, however
|
||||||
|
// this fails when the log is *much* longer than the screen size,
|
||||||
|
// so additional logic will be need to handle that; specifically
|
||||||
|
// consider simply reusing logic from the /clear function
|
||||||
void textbuffer_view_remove_line_from_lastlog(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line)
|
void textbuffer_view_remove_line_from_lastlog(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line)
|
||||||
{
|
{
|
||||||
unsigned char update_counter;
|
unsigned char update_counter;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue