mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-15 23:48:15 +08:00
Add missing const. (#297)
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:

committed by
GitHub

parent
382205c057
commit
cd82fccde7
@@ -62,8 +62,8 @@ class Screen {
|
||||
void Print();
|
||||
|
||||
// Get screen dimensions.
|
||||
int dimx() { return dimx_; }
|
||||
int dimy() { return dimy_; }
|
||||
int dimx() const { return dimx_; }
|
||||
int dimy() const { return dimy_; }
|
||||
|
||||
// Move the terminal cursor n-lines up with n = dimy().
|
||||
std::string ResetPosition(bool clear = false);
|
||||
|
Reference in New Issue
Block a user