diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 269e718..89957c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,6 +3,7 @@ name: CMake on: push: pull_request: + workflow_dispatch: release: types: [ published ] @@ -60,21 +61,21 @@ jobs: - name: Upload test logs if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: testing-shl-${{ matrix.build_single_header }} path: ${{github.workspace}}/build/Testing - name: Upload coverage if: ${{ matrix.build_single_header == 'OFF' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage path: ${{github.workspace}}/build/coverage_xml.xml - name: Upload generated header if: ${{ matrix.build_single_header == 'ON' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: single-header path: ${{github.workspace}}/lib/shl/embedded_cli.h @@ -136,13 +137,13 @@ jobs: - name: Upload test logs if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: testing-win-${{ matrix.arch }} path: ${{github.workspace}}/build/Testing - name: Upload windows examples - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows-example-${{ matrix.arch }} path: ${{github.workspace}}/build/examples/win32-example/Release/embedded_cli_win32.exe @@ -172,7 +173,7 @@ jobs: - name: Upload test logs if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: testing-mac path: ${{github.workspace}}/build/Testing diff --git a/README.md b/README.md index 40d1cc6..76a7812 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,9 @@ Terminal is required for correct experience. Following control sequences are res * \t moves cursor to the end of autocompleted command * Esc[A (key up) and Esc[B (key down) navigates through history * Esc[C (key right) and Esc[D (key left) moves the cursor left and right +* Esc[H (Home) or Esc[1~ / Esc[7~ moves the cursor to the start of the line +* Esc[F (End) or Esc[4~ / Esc[8~ moves the cursor to the end of the line +* Esc[3~ (Delete) deletes the character at the cursor position If you run CLI through a serial port (like on Arduino with its UART-USB converter), you can use for example PuTTY (Windows) or XTerm (Linux).