Clean up inline assist editor rendering (#15536)
Release Notes: - N/A --------- Co-authored-by: Nathan <nathan@zed.dev> Co-authored-by: Max <max@zed.dev>
This commit is contained in:
co-authored by
Nathan
Max
parent
73d8370177
commit
5b1ea7eda0
@@ -96,8 +96,8 @@ impl TerminalOutput {
|
||||
}
|
||||
|
||||
impl LineHeight for TerminalOutput {
|
||||
fn num_lines(&self, _cx: &mut WindowContext) -> u8 {
|
||||
self.handler.buffer.lines().count().max(1) as u8
|
||||
fn num_lines(&self, _cx: &mut WindowContext) -> usize {
|
||||
self.handler.buffer.lines().count().max(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user