summaryrefslogtreecommitdiff
path: root/Source/Kernel/VTManager/SimpleVT.class.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-22 15:03:48 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-22 15:03:48 +0100
commit2c23da1cf398aef420130dde1b86e4c474e3cacb (patch)
tree33f31cf7459fe017c35a313c88e4bfcb6f00eb8a /Source/Kernel/VTManager/SimpleVT.class.cpp
parent98decfffefc49c82f20a0453cef823f7588e7654 (diff)
parent837290db7d39c8cd852541cb345dc5a57c9274ce (diff)
downloadMelon-2c23da1cf398aef420130dde1b86e4c474e3cacb.tar.gz
Melon-2c23da1cf398aef420130dde1b86e4c474e3cacb.zip
Merge branch 'master' into framework
Conflicts: Melon.img
Diffstat (limited to 'Source/Kernel/VTManager/SimpleVT.class.cpp')
-rw-r--r--Source/Kernel/VTManager/SimpleVT.class.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Kernel/VTManager/SimpleVT.class.cpp b/Source/Kernel/VTManager/SimpleVT.class.cpp
index 4a16b54..28f9f98 100644
--- a/Source/Kernel/VTManager/SimpleVT.class.cpp
+++ b/Source/Kernel/VTManager/SimpleVT.class.cpp
@@ -9,6 +9,7 @@ SimpleVT::SimpleVT(u32int rows, u32int cols, u8int fgcolor, u8int bgcolor) : Vir
m_rows = rows;
m_cols = cols;
m_mapped = false;
+ m_hideCursor = false;
setColor(fgcolor, bgcolor);
clear();
@@ -87,6 +88,7 @@ void SimpleVT::scroll() {
void SimpleVT::updateCursor() {
if (!m_mapped) return;
+ if (m_hideCursor) return;
Disp::moveCursor(m_csrlin + m_maprow, m_csrcol + m_mapcol);
}