summaryrefslogtreecommitdiff
path: root/Source/Kernel/DeviceManager/Disp.ns.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-23 19:19:55 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-23 19:19:55 +0100
commite2d5d79bbc90d73f709953f04b2b0d1faac4d43e (patch)
treebde6f928e3a45ef66f4056cbc932bc21fe44cb31 /Source/Kernel/DeviceManager/Disp.ns.cpp
parent7ede286ebcb845fe4bfdfb948c6073573b01c3cb (diff)
downloadMelon-e2d5d79bbc90d73f709953f04b2b0d1faac4d43e.tar.gz
Melon-e2d5d79bbc90d73f709953f04b2b0d1faac4d43e.zip
Changed the way virtual terminal commands are handled
These commands include those for moving the cursor, showing/hiding it, changing the color, ...
Diffstat (limited to 'Source/Kernel/DeviceManager/Disp.ns.cpp')
-rw-r--r--Source/Kernel/DeviceManager/Disp.ns.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Kernel/DeviceManager/Disp.ns.cpp b/Source/Kernel/DeviceManager/Disp.ns.cpp
index 7ccf254..08de1da 100644
--- a/Source/Kernel/DeviceManager/Disp.ns.cpp
+++ b/Source/Kernel/DeviceManager/Disp.ns.cpp
@@ -60,15 +60,13 @@ void selectMode() {
for (u32int i = 0; i < Disp::modes.size(); i++) {
Disp::mode_t& m = Disp::modes[i];
- *kvt << (s32int)i << ":\t" << "Text " << m.textRows << "x" << m.textCols;
- kvt->setCursorCol(21);
+ *kvt << (s32int)i << ":\t" << "Text " << m.textRows << "x" << m.textCols << MVT::setcsrcol(21);
if (m.graphWidth != 0 and m.graphHeight != 0) {
*kvt << "Graphics " << m.graphWidth << "x" << m.graphHeight << "x" << m.graphDepth << "\t";
} else {
*kvt << "No graphics";
}
- kvt->setCursorCol(45);
- *kvt << m.device->getName() << "\n";
+ *kvt << MVT::setcsrcol(45) << m.device->getName() << "\n";
}
while (1) {