mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-27 14:34:32 +03:00
fix(render): various rendering issues (#238)
This commit is contained in:
parent
d64e814e54
commit
e1e1f21043
@ -188,7 +188,14 @@ impl Pane for TerminalPane {
|
||||
self.max_height
|
||||
}
|
||||
fn render(&mut self) -> Option<String> {
|
||||
if self.should_render || cfg!(test) {
|
||||
// FIXME:
|
||||
// the below conditional is commented out because it causes several bugs:
|
||||
// 1. When panes are resized or tabs are switched the previous contents of the screen stick
|
||||
// around
|
||||
// 2. When there are wide characters in a pane, since we don't yet handle them properly,
|
||||
// the spill over to the pane to the right
|
||||
// if self.should_render || cfg!(test) {
|
||||
if true {
|
||||
let mut vte_output = String::new();
|
||||
let buffer_lines = &self.read_buffer_as_lines();
|
||||
let display_cols = self.get_columns();
|
||||
|
Loading…
Reference in New Issue
Block a user