-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Bug]: spaces in commands get deleted #2421
Comments
Some program you previously used likely left the terminal in an invalid state. Try long holding terminal -> Running |
I tried all 3 solutions, none worked. My termux is a fresh installation so doubt it's from a previous program (I only use it to SSH). Can you re-open the issue? |
By previous program I meant, a previous command that you ran in the same terminal. Can be a keyboard issue as well. Check #2385 (comment) Provide reproducible instructions. |
Check if the enforce-char-based-input workaround makes a difference: #686 (comment) |
Thanks both for the suggestion. Doesn't seem to solve the issue, but avoiding the |
Hopefully, you restarted application or reloading settings after setting value. Post output of Also post a video of the bug. https://f-droid.org/en/packages/com.orpheusdroid.screenrecorder/ |
~ $ cat .termux/termux.properties |
Thanks. But without exact reproducible command samples, the bug cannot be fixed if its a termux app issue. |
You can also test installing another keyboard, like hackers keyboard. If it works with that one then we know that issue is with samsung's stock (or do you have a custom rom installed?) keyboard |
Press end after you add the space. |
I'm experiencing the same problem, and hitting end or moving to the end of the line just causes a different problem--it cuts off the last character. I'm able to reproduce the problems. Here's a sample: Command where the space is missed
Trying just adding a space between the o and $ and hitting enter immediately but the result is the same command as before
Trying adding the space and hitting end before enter, and the space is added but now the last character is removed
Trying adding the space and moving the cursor to the end of the line with the arrow keys before hitting enter, same command ran with the final character removed.
Each time I'm trying to correct the command I'm hitting the up arrow to get the original command in the history before trying to fix it. After further testing I'm realizing this occurs only while using Microsoft SwiftKey Keyboard, not Hacker's Keyboard, Swype, or Gboard. So it does seem to be a problem with speficic keyboards. |
I press the end key to go to the end of the line.
I wonder if that is different than using the cursor key.
|
Setting |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Same here! Setting Also: @agnostic-apollo here's a video to serve as an illustration for the bug and the solution: |
Do you mean setting the property fixed the issue? There might be some additional settings in the app's keyboard settings that could be affecting behaviour. Also the video is private. |
It has.
It might be.
The video is publicly accessible. I double checked just now |
Problem description
spaces in command get randomly deleted, and I'm not sure why.
Steps to reproduce the behavior.
cd ~/Documents
(with space)If i then click the upwards arrow, the executed command was
cd~/Documents
(no space)So I re-add the space and re-execute:
This doesn't happen all the time, I'm not sure what triggers it.
What is the expected behavior?
for spaces not to be deleted
System information
The text was updated successfully, but these errors were encountered: