aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2020-09-04 17:17:37 +0200
committerAram Drevekenin <aram@poor.dev>2020-09-04 17:17:37 +0200
commitf42c13da8e1674a8b06d47c6df653b8e4e2d8acc (patch)
treeab49e8d12f6fc9b11b30afcfca8ed20d2fa9fbcb /src/main.rs
parenthorizontal split prototype (diff)
downloadsl0ppij-f42c13da8e1674a8b06d47c6df653b8e4e2d8acc.tar.gz
sl0ppij-f42c13da8e1674a8b06d47c6df653b8e4e2d8acc.tar.xz
sl0ppij-f42c13da8e1674a8b06d47c6df653b8e4e2d8acc.zip
test(layout): horizontal split
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 712becca..7356c47f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -866,7 +866,7 @@ impl Screen {
if terminal.x_coords + terminal.display_cols < self.full_screen_ws.ws_col {
let boundary_x_coords = terminal.x_coords + terminal.display_cols;
let mut vte_output_boundaries = String::new();
- for row in terminal.y_coords..=terminal.y_coords + terminal.display_rows {
+ for row in terminal.y_coords..terminal.y_coords + terminal.display_rows {
vte_output_boundaries.push_str(&format!("\u{1b}[{};{}H\u{1b}[m", row + 1, boundary_x_coords + 1)); // goto row/col
vte_output_boundaries.push_str(&self.vertical_separator.to_string());
}
@@ -875,7 +875,7 @@ impl Screen {
if terminal.y_coords + terminal.display_rows < self.full_screen_ws.ws_row {
let boundary_y_coords = terminal.y_coords + terminal.display_rows;
let mut vte_output_boundaries = String::new();
- for col in terminal.x_coords..=terminal.x_coords + terminal.display_cols {
+ for col in terminal.x_coords..terminal.x_coords + terminal.display_cols {
vte_output_boundaries.push_str(&format!("\u{1b}[{};{}H\u{1b}[m", boundary_y_coords + 1, col + 1)); // goto row/col
vte_output_boundaries.push_str(&self.horizontal_separator.to_string());
}