Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ jobs:

c_format:
name: C format
runs-on: ubuntu-22.04
runs-on: ubuntu-26.04
steps:
- run: uname -rms
- run: echo "cloning ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
- run: git clone --no-checkout -- ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} wd
- run: cd wd && git fetch -- origin ${{ github.event.pull_request.head.sha }} && git checkout FETCH_HEAD
- run: cd wd && git ls-files -z '**/*.c' '**/*.h' | xargs -0 -- clang-format-15 --dry-run --style=file --Werror
- run: cd wd && git ls-files -z '**/*.c' '**/*.h' | xargs -0 -- clang-format-22 --dry-run --style=file --Werror

c_analysis:
name: C analysis
Expand Down
3 changes: 1 addition & 2 deletions libvimcat/src/term.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,7 @@ static int process_csi(term_t *t, const char *csi) {
#endif

// check we have a known CSI
int (*handler)(term_t * t, size_t index, bool is_default, size_t entry) =
NULL;
int (*handler)(term_t *t, size_t index, bool is_default, size_t entry) = NULL;
switch (final) {
case 'A': // Cursor Up
handler = process_A;
Expand Down