Skip to content

Commit

Permalink
Kernel Console driver now with more security.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkie committed Jan 19, 2010
1 parent 83a1e5f commit 27ebad2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/dev/console.d
Expand Up @@ -107,6 +107,8 @@ public:
videoInfo.xpos += TABSTOP;
}
else if (c != '\n' && c != '\r') {
videoInfo.xpos %= COLUMNS;
videoInfo.ypos %= LINES;
ubyte* videoAddress = videoMemoryLocation;
videoAddress += (videoInfo.xpos + (videoInfo.ypos * COLUMNS)) * 2;

Expand Down

0 comments on commit 27ebad2

Please sign in to comment.