aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-11 14:44:41 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-11 14:44:41 -0800
commit2628da4a594212156e9d26fb1c07097d4c5bb7fb (patch)
tree6a8e7debe91e84a099c9b47c2c5270d71ee551cd /screen.cpp
parentccb157c7a30fadef70241e9dc362d78258a3866e (diff)
Removed some debugging code used in determining autosuggestion truncation
Fixed a busted link in the function doc
Diffstat (limited to 'screen.cpp')
-rw-r--r--screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.cpp b/screen.cpp
index 8e83f7dc..d805b7e6 100644
--- a/screen.cpp
+++ b/screen.cpp
@@ -1154,7 +1154,7 @@ static screen_layout_t compute_layout(screen_t *s,
bool done = false;
/* Case 1 */
- if (! done && left_prompt_width + right_prompt_width + first_command_line_width + autosuggestion_total_width + 10 < screen_width)
+ if (! done && left_prompt_width + right_prompt_width + first_command_line_width + autosuggestion_total_width < screen_width)
{
result.left_prompt = left_prompt;
result.left_prompt_space = left_prompt_width;