Skip to main content

reset_height_memo

Function reset_height_memo 

Source
pub fn reset_height_memo()
Expand description

No-op retained for API compatibility with an earlier memo-based revision of the scroll-height calculator.

The current implementation recomputes the total in O(1) from lines.len(), so there is no memo to reset. Callers that still invoke this function continue to compile and behave identically.

ยงExamples

use codetether_agent::tui::ui::chat_view::scroll::reset_height_memo;
reset_height_memo(); // always safe, never fails