Add wcswidth to safe_builtins
This commit is contained in:
parent
4644ab3f37
commit
ee4b89055f
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,7 @@
|
|||
set_tab_bar_render_data,
|
||||
update_tab_bar_edge_colors,
|
||||
viewport_for_window,
|
||||
wcswidth,
|
||||
)
|
||||
from .rgb import alpha_blend, color_as_sgr, color_from_int, to_color
|
||||
from .types import WindowGeometry, run_once
|
||||
|
|
@ -221,6 +222,7 @@ def active_oldest_exe(self) -> str:
|
|||
|
||||
safe_builtins = {
|
||||
'max': max, 'min': min, 'str': str, 'repr': repr, 'abs': abs, 'len': len, 'chr': chr, 'ord': ord, 're': re,
|
||||
'wcswidth': wcswidth,
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue