fix: compilation error
This commit is contained in:
@ -403,8 +403,8 @@ public final class TerminalEmulator {
|
|||||||
} else {
|
} else {
|
||||||
mouseButton = pressed ? mouseButton : 3; // 3 for release of all buttons.
|
mouseButton = pressed ? mouseButton : 3; // 3 for release of all buttons.
|
||||||
// Clip to screen, and clip to the limits of 8-bit data.
|
// Clip to screen, and clip to the limits of 8-bit data.
|
||||||
boolean out_of_bounds = column > 255 - 32 || row > 255 - 32;
|
boolean outOfBounds = column > 255 - 32 || row > 255 - 32;
|
||||||
if (!out_of_bounds) {
|
if (!outOfBounds) {
|
||||||
byte[] data = {'\033', '[', 'M', (byte) (32 + mouseButton), (byte) (32 + column), (byte) (32 + row)};
|
byte[] data = {'\033', '[', 'M', (byte) (32 + mouseButton), (byte) (32 + column), (byte) (32 + row)};
|
||||||
mSession.write(data, 0, data.length);
|
mSession.write(data, 0, data.length);
|
||||||
}
|
}
|
||||||
|
@ -72,7 +72,7 @@ class NeoTabDecorator(val context: NeoTermActivity) : TabSwitcherDecorator() {
|
|||||||
VIEW_TYPE_TERM -> {
|
VIEW_TYPE_TERM -> {
|
||||||
val termTab = tab as TermTab
|
val termTab = tab as TermTab
|
||||||
termTab.toolbar = toolbar
|
termTab.toolbar = toolbar
|
||||||
val terminalView = findViewById<TerminalView>(R.id.terminal_view)
|
val terminalView = findViewById<TerminalView>(R.id.terminal_view)
|
||||||
if (isQuickPreview) {
|
if (isQuickPreview) {
|
||||||
bindTerminalView(termTab, terminalView, null)
|
bindTerminalView(termTab, terminalView, null)
|
||||||
} else {
|
} else {
|
||||||
|
@ -24,7 +24,7 @@ buildscript {
|
|||||||
ext.android = [
|
ext.android = [
|
||||||
ANDROID_SUPPORT_VERSION: '27.0.2',
|
ANDROID_SUPPORT_VERSION: '27.0.2',
|
||||||
|
|
||||||
KOTLIN_VERSION : '1.2.21',
|
KOTLIN_VERSION : '1.2.30',
|
||||||
|
|
||||||
MIN_SDK_VERSION : 21,
|
MIN_SDK_VERSION : 21,
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.michael-rapp:android-util:1.15.0'
|
compile 'com.github.michael-rapp:android-util:1.15.0'
|
||||||
implementation rootProject.ext.deps["annotations"]
|
implementation rootProject.ext.deps["annotations"]
|
||||||
implementation rootProject.ext.deps["appcompat-v7"]
|
implementation rootProject.ext.deps["appcompat-v7"]
|
||||||
testImplementation rootProject.ext.deps["junit"]
|
testImplementation rootProject.ext.deps["junit"]
|
||||||
|
Reference in New Issue
Block a user