summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Zhiburt <zhiburt@gmail.com>2024-09-30 22:45:13 +0300
committerGitHub <noreply@github.com>2024-09-30 14:45:13 -0500
commit166d5fa4ffa3c5514b2d7597f3238e6828c986f9 (patch)
tree4097ead38fd5656be250c010437fdc88d2dc6cbb
parent4bd38847c269a079d5cbb4318003f08f6b9fa4c2 (diff)
nu-exlore/ Fix :try table view (#13964)
Must be addressed @fdncred But I would recheck. ![image](https://github.com/user-attachments/assets/657c4f63-62ae-413d-b6cc-90e918864e69) close #13957
-rw-r--r--crates/nu-explore/src/views/record/table_widget.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/nu-explore/src/views/record/table_widget.rs b/crates/nu-explore/src/views/record/table_widget.rs
index ae39d4685..588377c9f 100644
--- a/crates/nu-explore/src/views/record/table_widget.rs
+++ b/crates/nu-explore/src/views/record/table_widget.rs
@@ -565,7 +565,7 @@ fn render_split_line(
style: NuStyle,
) -> u16 {
if has_head {
- render_vertical_split_line(buf, x, y, height, &[0], &[2], &[], style);
+ render_vertical_split_line(buf, x, y, height, &[y], &[y + 2], &[], style);
} else {
render_vertical_split_line(buf, x, y, height, &[], &[], &[], style);
}