适当缩短打字时间

This commit is contained in:
SengokuCola
2026-04-10 13:27:10 +08:00
parent 8bd1c6ee11
commit 3ea2bf1059

View File

@@ -84,9 +84,9 @@ def translate_timestamp_to_human_readable(timestamp: float, mode: TimestampMode
def calculate_typing_time( def calculate_typing_time(
input_string: str, input_string: str,
chinese_time: float = 0.3, chinese_time: float = 0.2,
english_time: float = 0.15, english_time: float = 0.1,
line_break_time: float = 0.1, line_break_time: float = 0.05,
is_emoji: bool = False, is_emoji: bool = False,
) -> float: ) -> float:
""" """