These are a set of specially-crafted text files designed to exercise
most of the corner cases in the Unicode support code, particularly
FullUnicodeLine.setChar()'s support for overwriting screen columns with
changes in sequence lengths and display widths. For best (worst?)
results, use the tests in vttest mode; the lines of exactly 80 columns
will be more likely to uncover bugs that way.
(Found by running fuzzer.go and trimming down the repro case.)
adb push issue145repro-2.txt /data/local/a
Run Android terminal emulator.
$ cat /data/local/a
This change attempts full code coverage. However the Fn key
functionality cannot be reached by my emulator version. All the tests
with Function key fail.
This reverts commit fd719e10d6, reversing
changes made to 113d77e5fa.
This change was reverted because it caused a regression in the way soft
keyboard modifier keys worked. (e.g. using the volume keys as control
keys.) I think the regression happened because the change introduced
multiple copies of TermKeyListener. There should be only one instance
of TermKeyListener for each terminal window.
I would still like the feature (of having Alt send Esc), but without the
regression to the soft keyboard.
Rename mCharcodes to mCharSequence (matches the public getter's name.)
Rename the public getter from getCharSequence to extractCharSequence, to
signify that each time you call it the current character sequence is
reset.
Bug repro:
Switch to Alt-key-does-not-send-ESC mode.
Press and release the letter X
Hold down the alt key.
Expected behavior: nothing happens.
Actual behavior: The letter x repeats as long as you hold down the Alt key.