adding TODO to denote the current state of this code

This commit is contained in:
Robert Bisewski 2017-10-22 16:09:50 -05:00
commit c9229f73b3

View file

@ -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;