diff options
author | a-kenji <aks.kenji@protonmail.com> | 2022-06-10 20:03:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 20:03:13 +0200 |
commit | 67d2673cae60954e8287c2a1f58a21a56e066afb (patch) | |
tree | 5c469728075ea59723951c6b535253e30ebeaec4 /zellij-server/src/output | |
parent | bcaa6b82c5c3eec824110387b396aacae3a52e21 (diff) |
add(style): add trailing comma in match blocks (#1483)
This makes it easier to distinguish from normal blocks
Diffstat (limited to 'zellij-server/src/output')
-rw-r--r-- | zellij-server/src/output/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zellij-server/src/output/mod.rs b/zellij-server/src/output/mod.rs index 07d27d1bb..6d8010016 100644 --- a/zellij-server/src/output/mod.rs +++ b/zellij-server/src/output/mod.rs @@ -311,10 +311,10 @@ impl FloatingPanesStack { } } visible_chunks.push(c_chunk); - } + }, None => { break 'chunk_loop; - } + }, } } visible_chunks @@ -565,7 +565,7 @@ impl OutputBuffer { Some(row) => self.extract_characters_from_row(row, viewport_width), None => { vec![EMPTY_TERMINAL_CHARACTER; viewport_width] - } + }, } } } |