File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4646# 1.0 <nils_2@freenode>:
4747# make script python3 compatible
4848# add regular expression for format option
49+ # 1.0.1:
50+ # fix warning messages when loading script
4951#
5052# usage:
5153# add [tc] to your weechat.bar.status.items
7779
7880SCRIPT_NAME = "typing_counter"
7981SCRIPT_AUTHOR = "fauno <[email protected] >" 80- SCRIPT_VERSION = "1.0"
82+ SCRIPT_VERSION = "1.0.1 "
8183SCRIPT_LICENSE = "GPL3"
8284SCRIPT_DESC = "Bar item showing typing count and cursor position. Add 'tc' to a bar."
8385
115117tc_options = {}
116118
117119# regexp to match ${color} tags
118- regex_color = re .compile ('\$\{([^\{\}]+)\}' )
120+ regex_color = re .compile (r '\$\{([^\{\}]+)\}' )
119121
120122# regexp to match ${optional string} tags
121- regex_optional_tags = re .compile ('%\{[^\{\}]+\}' )
123+ regex_optional_tags = re .compile (r '%\{[^\{\}]+\}' )
122124
123125def command_run_cb (data , signal , signal_data ):
124126 if tc_options ['warn_command' ] == '' :
You can’t perform that action at this time.
0 commit comments