docs: update the command to exit the screen session

This commit is contained in:
Linda 2023-09-25 15:34:48 +08:00
parent b58a2ea6a6
commit 6c96e58228
2 changed files with 4 additions and 4 deletions

View File

@ -315,11 +315,11 @@ To spare you the trouble of installing a serial terminal program, macOS offers t
Replace ``device_name`` with the name found running ``ls /dev/cu.*``.
- What you are looking for is some log displayed by the **screen**. The log contents depend on application loaded to {IDF_TARGET_NAME}, see `Example Output`_. To exit the **screen** session type Ctrl-A + \\ .
- What you are looking for is some log displayed by the **screen**. The log contents depend on application loaded to {IDF_TARGET_NAME}, see `Example Output`_. To exit the current **screen** session, type ``Ctrl-A + K``.
.. note::
Do not forget to **exit the screen session** after verifying that the communication is working. If you fail to do it and just close the terminal window, the serial port will be inaccessible for uploading firmware later.
Do not forget to **exit the current screen session** after verifying that the communication is working. If you fail to do it and just close the terminal window, the serial port will be inaccessible for uploading firmware later.
Example Output
^^^^^^^^^^^^^^

View File

@ -315,11 +315,11 @@ macOS 提供了 **屏幕** 命令,因此无需安装串口终端程序。
``device_name`` 替换为运行 ``ls /dev/cu.*`` 后出现的设备串口号。
- **屏幕** 显示的日志即为所需内容。日志内容取决于加载到 {IDF_TARGET_NAME} 的应用程序,请参考 `输出示例`_。请使用 Ctrl-A + \\ 键退出 **屏幕** 会话。
- **屏幕** 显示的日志即为所需内容。日志内容取决于加载到 {IDF_TARGET_NAME} 的应用程序,请参考 `输出示例`_。请使用 ``Ctrl-A + K`` 键退出当前 **屏幕** 会话。
.. 注解::
请在验证完串口通信正常后,关闭 **屏幕** 会话。如果直接关闭终端窗口而没有关闭 **屏幕**,之后上传固件时将无法访问串口。
请在验证完串口通信正常后,关闭 **当前屏幕会话**。如果直接关闭终端窗口而没有关闭 **屏幕**,之后上传固件时将无法访问串口。
输出示例
^^^^^^^^^^^