aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-01 20:18:54 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-01 20:18:54 +0300
commitb71a19c92e97e628166506230357c0dfbd8943be (patch)
tree671bf167a0cbd105826d763e6aaae71eda5ada8d
parentc983ff6a41613a3131c159cfe55c631595f2020c (diff)
more precise mitigation for the resizing bug
-rw-r--r--README.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/README.md b/README.md
index 959147bf..2d4b1914 100644
--- a/README.md
+++ b/README.md
@@ -1321,9 +1321,15 @@ There are a few mitigation options for this issue.
- Disable text reflowing on window resize in terminal settings. If your terminal doesn't have this
setting, try a different terminal.
- Avoid long lines between the start of prompt and cursor.
- 1. Disable right prompt with `POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()`.
- 2. Disable ruler with `POWERLEVEL9K_SHOW_RULER=false`.
- 3. Disable prompt gap with `POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' '`.
+ 1. Disable ruler with `POWERLEVEL9K_SHOW_RULER=false`.
+ 1. Disable prompt connection with `POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' '`.
+ 1. Disable right frame with `POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX=` and
+ `POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX=` and
+ `POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX=`.
+ 1. Remove all elements from `POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS`. Right prompt on the last prompt
+ line will cause resizing issues only when the cursor is below it. This isn't very common, so
+ you might want to keep some elements in `POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS` provided that
+ none of them are succeeded by `newline`.
## Table of contents