Skip to content

Commit

Permalink
Color problem for Terminal Table fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
prannoy committed Aug 25, 2015
1 parent 0cda45d commit 54a275b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/master/dev/terminal.js
Expand Up @@ -223,7 +223,7 @@ Terminal.prototype.UpdateRowTable = function(row) {

for (var column = 0; column < this.ncolumns; column++) {

var cnew = this.color[row][column]|0;
var cnew = this.color[this.brows + row][column]|0;

if (this.cursorvisible)
if (row == this.cursory)
Expand Down Expand Up @@ -253,7 +253,7 @@ Terminal.prototype.UpdateRowTableForScroll = function(row) {

for (var column = 0; column < this.ncolumns; column++) {

var cnew = this.color[row][column]|0;
var cnew = this.color[row - sensitivity][column]|0;

if (this.cursorvisible)
if (row == this.cursory)
Expand Down

0 comments on commit 54a275b

Please sign in to comment.