Closed alephalpha0 closed 3 years ago
It wraps as it should for me. You seem to have a custom PS1, what is it set to?
Uhm, just #
... No real idea how/why that came to be..
% echo $PS1
%#
%
Nevermind, you are using zsh, that's why it's a '%'.
In your screenshot you seem to be missing only two characters. Does it wrap if you write a very long line?
I think it might be a mis-setting of the terminal width for termux:float...
This is my incredibly long and not at all well thought out example in the floating terminal to prove my point. I think my terminal width is misset somewhere?
(edit: markdown hates me)
I think it might be a mis-setting of the terminal width for termux:float...
Then it should be reproducible with any shell at default settings, with no plugins installed.
Bash:
Zsh:
None of tested shells use "special" configuration or plug-ins.
I'll assume your issue happens due to configuration, specifically highlighting as it often causes issues with small terminal windows (not just in Termux!).
Problem description
When typing in a command that is longer than my termux:floats terminal width, the text keeps going on the same line where I am unable to view it.
Steps to reproduce
curl -LO https://raw.githubusercontent.com/alephalpha0/alephalpha0/master/README.md
Expected behavior
The main termux app, just like most terminals, wraps any text at the window border/terminal 2width and makes a new line. Expected termux:float to do the same behaviour.
Additional information