pub fn split_input_at_cursor( input: &str, cursor_pos: usize, ) -> (String, String, String)
将输入字符串按光标位置分割为三部分:光标前、光标处字符、光标后