From a3e3adf5381064acb17d5b52f01550e4d34884cc Mon Sep 17 00:00:00 2001 From: gary7530 Date: Mon, 15 Dec 2025 21:55:09 +0800 Subject: [PATCH 1/3] docs: update README with cursor navigation and deletion controls --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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). From 6b841a4e26631d6875ec8ac26b80d2ea448075d6 Mon Sep 17 00:00:00 2001 From: gary7530 Date: Mon, 15 Dec 2025 22:05:49 +0800 Subject: [PATCH 2/3] ci: upgrade upload-artifact action to v4 --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 269e718..2edf5a3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -60,21 +60,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 +136,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 +172,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 From a3b2e3df54ecda350ba78ffcea7c42efe869b6a0 Mon Sep 17 00:00:00 2001 From: gary7530 Date: Mon, 15 Dec 2025 22:24:27 +0800 Subject: [PATCH 3/3] ci: add workflow_dispatch event to CI configuration --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2edf5a3..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 ]