Fredrik Fornwall
847745a06e
Remove outdated tests
...
Remove tests that asserted that Cursor Down (CUD) and Cursor Up (CUU)
escape sequences were affected by the scrolling region set by DECSTBM.
This was incorrect and recently fixed:
https://github.com/termux/termux-app/issues/1340
2019-11-24 19:10:59 +01:00
Fredrik Fornwall
58389b506f
Do not limit cursor movement to scroll region
...
The scrolling region set by DECSTBM should not affect the
Cursor Down (CUD) and Cursor Up (CUU) escape sequences.
Fixes #1340 .
2019-11-10 22:10:10 +01:00
Fredrik Fornwall
370ac2bd89
Avoid joining lines for shared transcript ( #1166 )
2019-08-04 19:42:36 +02:00
iamahuman
2a36b915cb
Implement CSI 3 J - Clear transcript
2019-02-05 23:27:25 +01:00
Fredrik Fornwall
70c1bddae0
Use constant for utf-8 encoding
2019-01-20 23:58:04 +01:00
Fredrik Fornwall
b4563023f6
Add casts in termux.c to silence lint warning
2018-11-08 22:31:06 +01:00
Fredrik Fornwall
095ed8b54f
Use jint as return value from native function
...
This silences an error from the Android Studio lint.
2018-11-08 22:28:37 +01:00
Fredrik Fornwall
b61da23be7
Enable java 8
2018-09-29 00:49:05 +02:00
Fredrik Fornwall
a9eddce672
compileSdkVersion = targetSdkVersion = 28
2018-08-28 02:50:52 +02:00
Michał Bednarski
90b6f93697
Add fast path for TerminalRow.setChar
...
termux/termux-app#603
2018-06-22 00:21:31 +02:00
easyaspi314 (Devin)
ec1087d56f
Replace CRLF with CR as well.
...
This should replace both \r\n and \n with \r now.
"\r?\n" matches 0 or 1 \r and one \n, which should capture both
escape sequences.
2018-06-13 22:45:37 +02:00
easyaspi314 (Devin)
be6a73d862
Replace \n with \r when pasting ( Fixes #678 )
...
Termux will now properly send \r to the terminal instead of \n when pasting
multiline strings.
This fixes cat not repeating back lines and nano accidentally justifying
text (because \n maps to ^J), as well as other potential issues.
This matches the behavior of other terminals, such as iTerm2 which explicitly
does it here:
https://github.com/gnachman/iTerm2/blob/f8a5930/sources/iTermPasteHelper.m#L113
Signed-off-by: easyaspi314 (Devin) <easyaspi314@users.noreply.github.com>
2018-06-13 22:45:37 +02:00
Fredrik Fornwall
31ba36e0fa
Remove explicit buildToolsVersion
...
https://developer.android.com/studio/releases/gradle-plugin.html#behavior_changes
2018-04-02 00:58:02 +02:00
Fredrik Fornwall
c444f1fd28
Update gradle configuration
2018-04-02 00:40:16 +02:00
Fredrik Fornwall
f802d6001d
Do not send mouse clicks out of range ( fixes #501 )
2017-12-09 00:58:31 +01:00
Fredrik Fornwall
ab59e08959
Update build tools
2017-12-07 01:12:39 +01:00
Fredrik Fornwall
367398bafb
Update gradle configuration
2017-11-19 15:27:00 +01:00
Fredrik Fornwall
0bdbf314ef
Update gradle configuration
2017-11-07 04:25:48 +01:00
Fredrik Fornwall
2deb9899bd
Update buildToolsVersion to 27.0.1
2017-11-07 04:13:26 +01:00
Fredrik Fornwall
3533b13de8
Get rid of two android studio warnings
2017-10-28 11:05:43 +02:00
Fredrik Fornwall
d68a0f05be
Update gradle configuration
2017-10-28 11:05:43 +02:00
Fredrik Fornwall
9e5293a08e
Do not scroll when below bottom margin
2017-10-28 11:05:43 +02:00
Fredrik Fornwall
e558f824c5
Update gradle configuration
2017-10-28 11:05:43 +02:00
Fredrik Fornwall
82673d3f82
Update gradle configuration
2017-09-17 11:47:12 +02:00
Fredrik Fornwall
68912139f6
Additional REP test
2017-08-23 23:29:59 +02:00
Fredrik Fornwall
edc92bbcbb
Start supporting the REP escape sequence
2017-08-13 16:14:31 +02:00
Fredrik Fornwall
adae111d5c
Update gradle config
2017-07-09 21:07:18 +02:00
Fredrik Fornwall
f9a565d1e0
Ignore C1 control codes
...
C1 control codes are not used nowadays and just risks messing up
the terminal when they are used by accident.
2017-06-26 01:28:18 +02:00
Fredrik Fornwall
c29909726c
Bump terminal-emulator libraryVersion to 0.50
2017-06-05 22:45:44 +02:00
Fredrik Fornwall
45bac89298
Remove unused xmlns:android declaration
2017-06-05 22:45:15 +02:00
Fredrik Fornwall
c06770c353
Merge pull request #330 from whydoubt/cursor_preserve_color
...
Make cursor save/restore affect color attributes
2017-06-05 22:35:39 +02:00
Jeff Smith
2e9383720c
Make cursor save/restore affect color attributes
...
SGR attributes are stored in three variables: mEffect, mForeColor, and
mBackColor. Saving/restoring the cursor only preserves mEffect.
Change the cursor save/restore methods to additionally preserve
mForeColor and mBackColor. This affects both 'explit' saving/restoring
the cursor and switching to/from the alternate screen buffer.
2017-06-03 17:45:36 -05:00
Jeff Smith
58f9f1be71
Add tests for cursor save/restore
2017-06-03 17:45:36 -05:00
Jeff Smith
058441dda6
Fix FC from too many control code parameters
...
When the number of parameters in a CSI control code exceeds the size of
the mArgs array, the code may attempt to read past the end of the array,
resulting in a force close of the app.
Stop the index from moving past the last element of the mArgs array.
2017-06-03 00:15:09 -05:00
Jeff Smith
888802a519
Add test for CSI followed by many parameters
2017-06-03 00:14:20 -05:00
Fredrik Fornwall
9d3f7734a1
Update android build tools
2017-05-16 11:11:57 +02:00
Fredrik Fornwall
4aefa5049b
Add gradle setup to publish to jcenter
2017-04-04 23:31:00 +02:00
Fredrik Fornwall
1a9c38374c
Fix some invalid html in javadoc
2017-04-02 15:11:56 +02:00
Fredrik Fornwall
7d3a988d2f
Restructure library modules
...
terminal/ -> terminal-emulator/
view/ -> terminal-view/
2017-04-02 14:21:36 +02:00