aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-15 01:40:40 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-15 01:40:40 -0800
commit53814983ff5404d0d2a53069ed2bc951a85ea0ee (patch)
tree7b9cbd5e5506d2d6237515bfdf9fd7afa0472d23 /screen.cpp
parente2fe8730496eb8019e8f8ace211eeaa596534942 (diff)
Update style and formatting to conform to fish style guide.
Diffstat (limited to 'screen.cpp')
-rw-r--r--screen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/screen.cpp b/screen.cpp
index 68b78ebf..1a199d5e 100644
--- a/screen.cpp
+++ b/screen.cpp
@@ -1215,7 +1215,8 @@ static screen_layout_t compute_layout(screen_t *s,
// If the command wraps, and the prompt is not short, place the command on its own line.
// A short prompt is 33% or less of the terminal's width.
const size_t prompt_percent_width = (100 * left_prompt_width) / screen_width;
- if (left_prompt_width + first_command_line_width + 1 > screen_width && prompt_percent_width > 33) {
+ if (left_prompt_width + first_command_line_width + 1 > screen_width && prompt_percent_width > 33)
+ {
result.prompts_get_own_line = true;
}