Open zixijian opened 2 years ago
Allow users to enable terminal cursor blinking with termux.properties. This
terminal-cursor-blink-rate
key can be used to enable terminal cursor blinking. The user can set an int value between100
and2000
which will be used as blink rate in millisecond. The default value is0
, which disables cursor blinking. So adding an entry liketerminal-cursor-blink-rate=600
to~/termux.properties
file will make the cursor attempt to blink every 600ms. Runningtermux-reload-settings
command will also update the cursor blinking rate instantaneously if changed. This will have a performance impact, so use wisely and at your own risk. Note that you can also change the cursor color by addingcursor
property to~/colors.properties
file, likecursor=#FFFFFF
for a white cursor. (31298b88, 89a1e02)
https://github.com/termux/termux-app/releases/tag/v0.113
Allow users to set terminal cursor style with termux.properties. The
terminal-cursor-style
key can be used to set the terminal cursor style. The user can set a string value toblock
for■
,underline
for_
orbar
for|
cursor style. The default value is stillblock
. So adding an entry liketerminal-cursor-style=bar
totermux.properties
file will allow users to change to thebar
cursor style. After updating the value, termux must be restarted. You can also runtermux-reload-settings
command so that termux loads the updated value, but only new sessions will use the updated value, existing sessions will not be affected unless you Reset them from terminal's long hold options menuMore
->Reset
or restart termux activity after double back press to exit. (f545ebf0)
https://github.com/termux/termux-app/releases/tag/v0.114
Even though cursor blinking is supported, text blinking is something else and will likely require a lot of work to implement and would be low priority, if possible.
Did you have a look at #2600?
cursor blinking != text blinking . Plan on testing and merging pull request soon if valid.
Feature description
Termux can not echo blink effect.
Some Muds game use blink effect,I see that some people also have a need for cursor blinking, which should be considered the same thing.
Additional information
At present, there is no terminal that can realize this function in Android mobile phones.
As the best terminal software for Android, I think it is necessary for Termux to improve the basic functions.
On pc,xshell & iterm2 etc. can achieve this effect.