Skip to content

Commit

Permalink
Sequences use CURRENT background colour again.
Browse files Browse the repository at this point in the history
The previous commit, through oversignt, made
it so that escape codes that erase characters
used the default background colour instead of
the current background colour, which is
incorrect behaviour. This has now been fixed.
  • Loading branch information
hxxr committed Jun 4, 2020
1 parent 70279b4 commit a26ffe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/hxxr/rfterm/xtermView.java
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ else if (e.size()>1) {
isEscaping = false;
Log.d("ViewRoot_ESCAPECODE", String.valueOf(charLToA(e)));

Paint background = reverseVideo ? fpaint : dpaint;
Paint background = reverseVideo ? fpaint : bpaint;

// Determine the type of CSI code by looking at the last character
switch (e.get(e.size() - 1)) {
Expand Down

0 comments on commit a26ffe3

Please sign in to comment.