a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

Hide toolbar?

Open normen opened this issue 2 years ago • 8 comments

Hi,

thanks for this great shell, I finally feel just at home on iPadOS :)

I was wondering if theres a way to hide the toolbar when using a physical keyboard. The toolbar just seems to clutter the view and I have all those keys on my keyboard already.

In the same vein, theres a bit of screen real estate lost on the top and bottom. Possibly because I am using an iPad Pro M1, which has round corners. The Blink iPadOS app stretches all the way into the corners and while that cuts a bit off of the symbols its imo a nicer solution.

Anyway, thanks again!

normen avatar Jan 07 '22 10:01 normen

Hi, that feature (hiding the toolbar) will be in the next TestFlight version (build 208) (I was already working on it, but there are still issues to fix).

For the real estate lost at the top and bottom, I have no idea (yet) how to do it.

holzschu avatar Jan 07 '22 10:01 holzschu

Nice, any chance I can get in the beta tests? My App Store account email is "normen (spelled with an e!) at normenhansen (dot) de"

normen avatar Jan 07 '22 11:01 normen

It's a link-based TestFlight: https://testflight.apple.com/join/WUdKe3f4

Currently, build 207 is waiting for approval, build 208 (with the toolbar removal) is next in line. My problem with the toolbar is that I haven't yet found a way to make it dependent on the keyboard being present (there are few ways of detecting whether an external keyboard is connected, and they don't always work) and it requires a restart of the app to take effect. I'm not sure whether I will be able to fix these.

Also currently it's set using Settings, but maybe I should make it a command.

holzschu avatar Jan 07 '22 13:01 holzschu

The TestFlight version with optional toolbar removal is now available on TestFlight: https://testflight.apple.com/join/WUdKe3f4

holzschu avatar Jan 12 '22 08:01 holzschu

That works, yes. But as you indicated, it would be nice to be able to quickly switch if there is no keyboard available. I sometimes quickly open a-shell and type a few commands on the on-screen keyboard, thats where I need those keys 😅

normen avatar Jan 12 '22 08:01 normen

Hi, build 210 improves somewhat on the situation: you don't need to restart the app, there are shell commands to hide/show the toolbar (hideToolbar/showToolbar). You still need one external event for these commands to become active.

I still haven't been able to make it dependent on the keyboard being present, mainly because of the way iOS apps are starting (I can only find if the keyboard is present after the part where I create the toolbar).

holzschu avatar Jan 13 '22 07:01 holzschu

Well thats already much more convenient. Typing the command when already inside A-Shell is simple. This stuff is awesome!

Btw I made some small scripts tailored to A-Shell (written in Perl, using only available tools). For example to pipe info from a .git-credentials file automatically into lg2 so you don't have to paste an access key each time you want to commit. Would the wiki be a good place to store such stuffs?

normen avatar Jan 14 '22 13:01 normen

Hi, the wiki sounds like a great idea to store scripts. There is also a-Shell-commands, which was initially developed for WASM binaries, but could be extended for Perl scripts: https://github.com/holzschu/a-Shell-commands

holzschu avatar Jan 16 '22 09:01 holzschu