ish-app / ish

Linux shell for iOS
https://ish.app
Other
17.07k stars 905 forks source link

Active line behind bottom bar #2026

Closed fxgst closed 1 year ago

fxgst commented 1 year ago

When using an external keyboard, the active line is behind the bottom bar where the settings other buttons are located.

akartha commented 1 year ago

Screenshot 2023-02-23 at 11 30 14 PM The command bar at the bottom never goes away, regardless of the options chosen in the preferences, when external keyboards are attached

fxgst commented 1 year ago

Okay, but the problem is that you don't see what you're typing anymore if you're at the bottom of the screen, see screenshot: sc

DarkCloud-the commented 1 year ago

What is this even for

fxgst commented 1 year ago

The title says it all. When you have enough lines, your active line is behind the bottom bar and you cannot see what you're typing (see screenshot). A workaround is to run clear but this is clearly not how it should be.

bpsib commented 1 year ago

Same problem when using the floating keyboard on the iPad. Bottom bar gets in the way of the last 3 lines. Also covers the status bar in tmux.

bpsib commented 1 year ago

This is a duplicate of #1972 and was apparently fixed in #1881 but the update hasn't yet been pushed to the App Store.

NetDevAutomate commented 1 year ago

As a workaround until this is resolved, I’ve found the following works:

So.. I think the following is working for me as a workaround until the menu bar can be removed:

Install ncurses: apk add nucrses

This will now allow you to set the number of lines the terminal uses.

Find out how many lines the terminal is using, the ‘resize’ command will show you:

~ resize       
COLUMNS=134;LINES=54;export COLUMNS LINES;

So, now make the lines less that the current value: sttty rows 50

Now… if I go into vim (for example), we can see that I have space to see everything.

I’ve added ‘sty rows 50’ to my .zshrc (I’m using zsh, but other shell rc files should work).

I hope this helps and works for others.

saagarjha commented 1 year ago

iSH 1.3 is out, which has fixes for this issue. Please try it out and file new issues with what you encounter!