-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resizing Terminal Prompt Window Causing Spacing Issues #13
Comments
+1 I'm having this issue as well. |
I'm gonna have a look at this within the next day or two. Mind telling me what OS, terminal app, and PS1 config you have set? |
@jimeh I don't know how to inform you about PS1 config, what do you need to know? the file where I put git-aware-prompt's code?.
|
@srvanrell You don't get a spacing issue when resizing the terminal window? |
My prompt looks like this:
|
@srvanrell Doesn't look like this issue applies to you. |
This is a very common issue that comes up when you use colours in your prompt but you forget to escape them properly. @rickarubio @james-ingold If you guys have edited the colours in your prompt, be sure that every colour code has been wrapped in the escaped brackets:
You cannot place colours in the script itself ( It's a limitation with bash and zsh, but limitations can be a catalyst for creativity. @mikeweilgart and I discussed this recently, but I can't find our conversation now. Hope this helps. Otherwise I've just been barking up the wrong tree(ish). |
(Here is the conversation mentioned above by @joeytwiddle .) |
If I resize my terminal window so that the current path I'm on is split between two lines, then typing causes strange behavior.
Example:
rr@Macintosh ~/dropbox/Source_Code/dev_bootcamp/phase1/week1/sudoku-2-guessing-challenge (rickr)*$ l s
instead of:
rr@Macintosh ~/dropbox/Source_Code/dev_bootcamp/phase1/week1/sudoku-2-guessing-challenge (rickr)*$ ls
The text was updated successfully, but these errors were encountered: