Comments (9)
Interesting, two quick-questions to start:
Where does the Pure prompt implement this text wrapping? How many other terminal prompts wrap in a similar fashion?
from spacefish.
Hi! Hmm... I really don't familiar with fish shell, so I couldn't find. and I've not checked other themes except Pure, but I can check the other ones when I have much time.
from spacefish.
Is this what you're referring to?
from spacefish.
Hm, I can reproduce & this causes some incredibly weird behaviour. Typing exit
exits the terminal emulator. I've seen this a couple of times before, but didn't know what caused it.
This completely breaks the prompt and I can't find a way to resolve it without reopening a new terminal instance.
from spacefish.
This is actually deliberate behavior in fish: fish-shell/fish-shell#904 (comment)
There has been a proposal in a past issue to identify when text wraps and to dynamically shorten or split the prompt based on the width of the terminal. I'd consider it if that's what zsh does natively.
from spacefish.
It completely breaks the fish instance though? Commands like ls
stop working entirely afterwards?
from spacefish.
Oof. Yeah, didn't expect that to happen. 😰
Unfortunately, this still appears to be an upstream issue, being able to reproduce it without spacefish installed:
from spacefish.
Is there a workaround we could make to get around this issue? I've had it myself a few times and just ended up opening a new terminal instance instead.
from spacefish.
I think anything we end up doing here would be hacky and this would best be addressed by the fish team, unless we decide to make the theme dynamically resizing based on $COLUMNS
.
Closing this as it's not an issue in spacefish, but feel free to keep the conversation going. 😄
from spacefish.
Related Issues (20)
- Elixir: SPACESHIP_ELIXIR_SHOW should be SPACEFISH_ELIXIR_SHOW HOT 1
- Installation destroys existing custom prompt HOT 1
- Input character not deleted HOT 2
- How to customize prompt with Vi mode? HOT 1
- pyenv section not being displayed correctly HOT 4
- iTerm2 instructions for displaying overlapping emojis properly are wrong HOT 1
- fish-nvm version is not shown HOT 1
- Use prompt_pwd for shorten dir section HOT 1
- Slow loading on macOS Catalina HOT 3
- Error reported when truncating names having special characters HOT 2
- Unknown subcommand 'upper'
- Add support for meteor version
- Java version HOT 1
- Kitty Terminal + Fish + Spacefish: new Prompt lines in Vi mode or clipboard paste HOT 1
- command color HOT 2
- Fish Hijacket by AWSCLI and KUBECTL.
- Error "test: Missing argument at index 2" for "string match *ahead*/*behind*" HOT 2
- How to add docker running state check before docker version show?
- Chnage Install command i's Deprecated
- Suggestion for rust icon
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spacefish.