Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde committed Dec 5, 2024
1 parent 30cbc02 commit 24f02f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp-terminal/private/cursor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Term::Cursor Term::cursor_position()
CONSOLE_SCREEN_BUFFER_INFO inf;
if(GetConsoleScreenBufferInfo(Private::out.handle(), &inf)) return Term::Cursor({Row(inf.dwCursorPosition.Y + 1), Column(inf.dwCursorPosition.X + 1)});
else
return {}
return {};
#else
std::string ret;
std::size_t nread{0};
Expand Down

0 comments on commit 24f02f9

Please sign in to comment.