Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Stash font size increase
-
Is there a way to increase the font size of the Stash command line? Thanks
-
The default font size is 12 for iPhone and 14 for iPad. To change the font size to 18 for an example, issue the following commands in StaSh:
touch $STASH_ROOT/.stash_config edit $STASH_ROOT/.stash_config
The second command opens up a file for edit, enter the following text:
[display] TEXT_FONT_SIZE=18
Now restart StaSh and the new font size will take effect.
-
@ywangd Wow, what other config options are available for stash?
-
@Webmaster4o said:
@ywangd Wow, what other config options are available for stash?
Here is a full list of config options and their default values:
[system] rcfile=.stashrc py_traceback=0 py_pdb=0 input_encoding_utf8=1 ipython_style_history_search=1 thread_type=ctypes [display] TEXT_FONT_SIZE=12 BUTTON_FONT_SIZE=14 BACKGROUND_COLOR=(0.0, 0.0, 0.0) TEXT_COLOR=(1.0, 1.0, 1.0) TINT_COLOR=(0.0, 0.0, 1.0) INDICATOR_STYLE=white HISTORY_MAX=50 BUFFER_MAX=150 AUTO_COMPLETION_MAX=50 VK_SYMBOLS=~/.-*|>$'=!&_"\?`
Some potentially useful options are:
py_traceback
Print full trace information for errorspy_pdb
Drop the user into a pdb shell when error is encountered (good for debug)TINT_COLOR
Cursor colorBUFFER_MAX
Maximum number of lines to keep on the screenVK_SYMBOLS
The symbol buttons available in the virtual key row
Currently any persistent changes to the configuration can only done via manually editing the configuration files (default to
.stash_config
orstash.cfg
under stash installation root folder). I haven't got time to make an UI for the config options. But it is on my todo list. -
Thank you very much.
What is the best/safe way to close the .stash_config file after finishing the edit?
-
@OI said:
Thank you very much.
What is the best/safe way to close the .stash_config file after finishing the edit?
It seems to me that Pythonista saves files opened in editor automatically when you perform any non-editing actions, e.g. close the file, swipe to console, swipe to file browser, launch editor actions. Essentially any changes will be just saved. You can simply re-launch stash after finish typing.
-
@ywangd said:
@OI said:
Thank you very much.
What is the best/safe way to close the .stash_config file after finishing the edit?
It seems to me that Pythonista saves files opened in editor automatically when you perform any non-editing actions, e.g. close the file, swipe to console, swipe to file browser, launch editor actions. Essentially any changes will be just saved. You can simply re-launch stash after finish typing.
Great explanation, thanks a lot
PS. I am new to Pythonista, great software by the way
-
Is there a way in Stash to hide the keyboard (1 row), I am using and external keyboard, thanks
-
There is currently no way to hide the virtual key row without changing the source code. It is a legacy behavior from when we had no true external keyboard support. It is indeed no longer necessary. I'll make the changes later.
-
@ywangd said:
There is currently no way to hide the virtual key row without changing the source code. It is a legacy behavior from when we had no true external keyboard support. It is indeed no longer necessary. I'll make the changes later.
Thanks