termux-app/terminal-emulator/src/test/java/com/termux/terminal
Trygve Aaberge 5f71e3e73a Join lines that fills the width when selecting urls
Some terminal applications, like mutt and weechat, prints a newline at
the end of each line even if text is wrapped. This causes urls which are
wrapped to not be selectable in full.

By ignoring newlines when the text fills the entire width of the screen,
those urls can be selected. Many other terminal emulators do this as
well.

A drawback of this is that if a url happens to fill the width of the
screen, the url selection will include the first word of the next line,
but this doesn't happen that often so I think it's an okay tradeoff.

Fixes #313
2020-06-09 13:41:36 +03:00
..
ByteQueueTest.java Enable java 8 2018-09-29 00:49:05 +02:00
ControlSequenceIntroducerTest.java Implement CSI 3 J - Clear transcript 2019-02-05 23:27:25 +01:00
CursorAndScreenTest.java Remove outdated tests 2019-11-24 19:07:34 +01:00
DecSetTest.java Restructure library modules 2017-04-02 14:21:36 +02:00
DeviceControlStringTest.java Restructure library modules 2017-04-02 14:21:36 +02:00
HistoryTest.java Restructure library modules 2017-04-02 14:21:36 +02:00
KeyHandlerTest.java Restructure library modules 2017-04-02 14:21:36 +02:00
OperatingSystemControlTest.java Restructure library modules 2017-04-02 14:21:36 +02:00
RectangularAreasTest.java Restructure library modules 2017-04-02 14:21:36 +02:00
ResizeTest.java Restructure library modules 2017-04-02 14:21:36 +02:00
ScreenBufferTest.java Join lines that fills the width when selecting urls 2020-06-09 13:41:36 +03:00
ScrollRegionTest.java Do not limit cursor movement to scroll region 2019-11-10 22:05:06 +01:00
TerminalRowTest.java Get rid of two android studio warnings 2017-10-28 11:05:43 +02:00
TerminalTest.java Do not send mouse clicks out of range (fixes #501) 2017-12-09 00:58:31 +01:00
TerminalTestCase.java Use constant for utf-8 encoding 2019-01-20 23:58:04 +01:00
TextStyleTest.java Enable java 8 2018-09-29 00:49:05 +02:00
UnicodeInputTest.java Restructure library modules 2017-04-02 14:21:36 +02:00
WcWidthTest.java Enable java 8 2018-09-29 00:49:05 +02:00