/* This function gets the echo mode of finsh shell. */
rt_uint32_t finsh_get_echo()
/* This function gets the echo mode of finsh shell. */
rt_uint32_t finsh_get_echo()
{
    RT_ASSERT(shell != RT_NULL);
    return shell->echo_mode;
}