Update panel_tools.py

This commit is contained in:
Mr Chen 2024-12-10 23:24:07 +08:00
parent 3fa51efd16
commit 18e59c9538
1 changed files with 0 additions and 1 deletions

View File

@ -44,7 +44,6 @@ def mw_input_cmd(msg):
def getRemainLen(cmd, max_length=100):
cmd_len = len(cmd)
cmd_u8_len = len(cmd.encode('utf-8'))
# print(cmd, cmd_u8_len, cmd_len, int((cmd_u8_len - cmd_len)/2+cmd_len))
return max_length-int((cmd_u8_len - cmd_len)/2+cmd_len)
def mwcli(mw_input=0):