Skip to content

Commit f3aa02c

Browse files
committed
fix
1 parent 05ea339 commit f3aa02c

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ jobs:
6666
- name: 🎉 Install
6767
run: cmake --install ${{ env.CMAKE_BINARY_PREFIX }} --prefix ${{ env.CMAKE_INSTALL_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }}
6868

69-
msvc2022:
69+
msvc:
7070
runs-on: windows-2025
71-
name: msvc2022 ${{ matrix.architecture }} (c++${{ matrix.standard }})
71+
name: msvc ${{ matrix.architecture }} (c++${{ matrix.standard }})
7272
strategy:
7373
fail-fast: false
7474
matrix:

cpp-terminal/event.hpp

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,18 @@ class Event
4444
Event(const Term::Mouse& mouse);
4545
Event(const Term::Event& event);
4646
Event(Term::Event&& event) noexcept;
47-
Event& operator=(Event&& other) noexcept;
48-
Event& operator=(const Term::Event& event);
49-
bool empty() const;
50-
Type type() const;
51-
operator Term::Key() const;
52-
operator Term::Screen() const;
53-
operator Term::Cursor() const;
54-
operator Term::Focus() const;
55-
operator Term::Mouse() const;
56-
operator std::string() const;
57-
47+
Event& operator=(Event&& other) noexcept;
48+
Event& operator=(const Term::Event& event);
49+
bool empty() const;
50+
Type type() const;
51+
// clang-format off
52+
operator Term::Key() const;
53+
operator Term::Screen() const;
54+
operator Term::Cursor() const;
55+
operator Term::Focus() const;
56+
operator Term::Mouse() const;
57+
operator std::string() const;
58+
// clang-format on
5859
// getters
5960
Key* get_if_key();
6061
const Key* get_if_key() const;

0 commit comments

Comments
 (0)