mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Change default exit combination for Device Monitor from `Ctrl+]
to
Ctrl+C
`
This commit is contained in:
@ -9,6 +9,7 @@ PlatformIO 3.0
|
|||||||
|
|
||||||
* Improved detecting of ARM mbed media disk for uploading
|
* Improved detecting of ARM mbed media disk for uploading
|
||||||
* Improved Project Generator for CLion IDE when source folder contains nested items
|
* Improved Project Generator for CLion IDE when source folder contains nested items
|
||||||
|
* Changed default exit combination for Device Monitor from ``Ctrl+]`` to ``Ctrl+C``
|
||||||
* Fixed issue with ``PATH`` auto-configuring for upload tools
|
* Fixed issue with ``PATH`` auto-configuring for upload tools
|
||||||
* Fixed ``99-platformio-udev.rules`` checker for Linux OS
|
* Fixed ``99-platformio-udev.rules`` checker for Linux OS
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ escapes.
|
|||||||
|
|
||||||
To control *monitor* please use these "hot keys":
|
To control *monitor* please use these "hot keys":
|
||||||
|
|
||||||
* ``Ctrl+]`` Quit
|
* ``Ctrl+C`` Quit
|
||||||
* ``Ctrl+T`` Menu
|
* ``Ctrl+T`` Menu
|
||||||
* ``Ctrl+T followed by Ctrl+H`` Help
|
* ``Ctrl+T followed by Ctrl+H`` Help
|
||||||
|
|
||||||
@ -191,10 +191,10 @@ Do not apply any encodings/transformations
|
|||||||
--exit-char
|
--exit-char
|
||||||
|
|
||||||
ASCII code of special character that is used to exit the application,
|
ASCII code of special character that is used to exit the application,
|
||||||
default ``29`` (DEC).
|
default ``3`` (DEC, ``Ctrl+C``).
|
||||||
|
|
||||||
For example, to use ``Ctrl+Q`` run
|
For example, to use ``Ctrl+]`` run
|
||||||
``platformio device monitor --exit-char 17``.
|
``platformio device monitor --exit-char 29``.
|
||||||
|
|
||||||
.. option::
|
.. option::
|
||||||
--menu-char
|
--menu-char
|
||||||
@ -285,9 +285,8 @@ Examples
|
|||||||
--- /dev/cu.obd2ecu-SPPDev n/a
|
--- /dev/cu.obd2ecu-SPPDev n/a
|
||||||
Enter port name:/dev/cu.SLAB_USBtoUART
|
Enter port name:/dev/cu.SLAB_USBtoUART
|
||||||
--- Miniterm on /dev/cu.SLAB_USBtoUART: 9600,8,N,1 ---
|
--- Miniterm on /dev/cu.SLAB_USBtoUART: 9600,8,N,1 ---
|
||||||
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
|
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
|
||||||
Hello PlatformIO!
|
Hello PlatformIO!
|
||||||
--- pySerial (2.7) - miniterm - help
|
|
||||||
---
|
---
|
||||||
--- Ctrl+] Exit program
|
--- Ctrl+] Exit program
|
||||||
--- Ctrl+T Menu escape key, followed by:
|
--- Ctrl+T Menu escape key, followed by:
|
||||||
|
@ -99,9 +99,9 @@ if int(PYSERIAL_VERSION[0]) == 3:
|
|||||||
@click.option(
|
@click.option(
|
||||||
"--exit-char",
|
"--exit-char",
|
||||||
type=int,
|
type=int,
|
||||||
default=29,
|
default=3,
|
||||||
help="ASCII code of special character that is used to exit "
|
help="ASCII code of special character that is used to exit "
|
||||||
"the application, default=29 (DEC)")
|
"the application, default=3 (Ctrl+C)")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--menu-char",
|
"--menu-char",
|
||||||
type=int,
|
type=int,
|
||||||
@ -197,9 +197,9 @@ else:
|
|||||||
@click.option(
|
@click.option(
|
||||||
"--exit-char",
|
"--exit-char",
|
||||||
type=int,
|
type=int,
|
||||||
default=29,
|
default=3,
|
||||||
help="ASCII code of special character that is used to exit "
|
help="ASCII code of special character that is used to exit "
|
||||||
"the application, default=29 (DEC)")
|
"the application, default=3 (Ctrl+C)")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--menu-char",
|
"--menu-char",
|
||||||
type=int,
|
type=int,
|
||||||
|
@ -138,9 +138,9 @@ if int(PYSERIAL_VERSION[0]) == 3:
|
|||||||
@click.option(
|
@click.option(
|
||||||
"--exit-char",
|
"--exit-char",
|
||||||
type=int,
|
type=int,
|
||||||
default=29,
|
default=3,
|
||||||
help="ASCII code of special character that is used to exit "
|
help="ASCII code of special character that is used to exit "
|
||||||
"the application, default=29 (DEC)")
|
"the application, default=3 (Ctrl+C)")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--menu-char",
|
"--menu-char",
|
||||||
type=int,
|
type=int,
|
||||||
@ -210,9 +210,9 @@ else:
|
|||||||
@click.option(
|
@click.option(
|
||||||
"--exit-char",
|
"--exit-char",
|
||||||
type=int,
|
type=int,
|
||||||
default=29,
|
default=3,
|
||||||
help="ASCII code of special character that is used to exit "
|
help="ASCII code of special character that is used to exit "
|
||||||
"the application, default=29 (DEC)")
|
"the application, default=3 (Ctrl+C)")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--menu-char",
|
"--menu-char",
|
||||||
type=int,
|
type=int,
|
||||||
|
Reference in New Issue
Block a user