mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-01 14:41:10 +01:00
Fix tabs to not overwrite cells
This commit is contained in:
parent
ce7ad530cd
commit
6ca055bb25
4 changed files with 30 additions and 17 deletions
|
|
@ -258,4 +258,9 @@ public class TerminalTest extends TerminalTestCase {
|
|||
withTerminalSized(3, 3).enterString("abc\r ").assertLinesAre(" bc", " ", " ").assertCursorAt(0, 1);
|
||||
}
|
||||
|
||||
public void testTab() {
|
||||
withTerminalSized(11, 2).enterString("01234567890\r\tXX").assertLinesAre("01234567XX0", " ");
|
||||
withTerminalSized(11, 2).enterString("01234567890\033[44m\r\tXX").assertLinesAre("01234567XX0", " ");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue