Skip to content

Commit

Permalink
set cursor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
r3w0p committed May 29, 2024
1 parent 8d3c70c commit 3bc5d6a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

set(PROJECT_VERSION 1.1.0)
set(PROJECT_VERSION 1.2.0)
set(PROJECT_DESCRIPTION "A command-line version of the Caravan card game from Fallout: New Vegas.")
set(PROJECT_COPYRIGHT "Copyright (c) 2022-2024 r3w0p")
set(PROJECT_URL "https://github.com/r3w0p/caravan")
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| (_| (_| | | | (_| |\ \/ / (_| | | | |
\___\__,_|_| \__,_| \__/ \__,_|_| |_|

| v1.1.0 | GPL-3.0 | (c) 2022-2024 r3w0p |
| v1.2.0 | GPL-3.0 | (c) 2022-2024 r3w0p |

A command-line version of the Caravan card game from Fallout: New Vegas.

Expand Down
2 changes: 1 addition & 1 deletion src/caravan/view/view_tui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ void ViewTUI::run() {

// Tweak how the component tree is rendered:
auto renderer = Renderer(component, [&] {
screen.SetCursor(Screen::Cursor(Screen::Cursor::Hidden));
screen.SetCursor(Screen::Cursor({.shape=Screen::Cursor::Hidden}));

try {
if (closed) { return gen_closed(vc); }
Expand Down

0 comments on commit 3bc5d6a

Please sign in to comment.