Skip to content

Commit fcdf9f5

Browse files
committed
fix: compilation error
1 parent ce246c3 commit fcdf9f5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

app/src/main/java/io/neoterm/backend/TerminalEmulator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ public void sendMouseEvent(int mouseButton, int column, int row, boolean pressed
403403
} else {
404404
mouseButton = pressed ? mouseButton : 3; // 3 for release of all buttons.
405405
// Clip to screen, and clip to the limits of 8-bit data.
406-
boolean out_of_bounds = column > 255 - 32 || row > 255 - 32;
407-
if (!out_of_bounds) {
406+
boolean outOfBounds = column > 255 - 32 || row > 255 - 32;
407+
if (!outOfBounds) {
408408
byte[] data = {'\033', '[', 'M', (byte) (32 + mouseButton), (byte) (32 + column), (byte) (32 + row)};
409409
mSession.write(data, 0, data.length);
410410
}

app/src/main/java/io/neoterm/ui/term/tab/NeoTabDecorator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class NeoTabDecorator(val context: NeoTermActivity) : TabSwitcherDecorator() {
7272
VIEW_TYPE_TERM -> {
7373
val termTab = tab as TermTab
7474
termTab.toolbar = toolbar
75-
val terminalView = findViewById<TerminalView>(R.id.terminal_view)
75+
val terminalView = findViewById<TerminalView>(R.id.terminal_view)
7676
if (isQuickPreview) {
7777
bindTerminalView(termTab, terminalView, null)
7878
} else {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ buildscript {
2424
ext.android = [
2525
ANDROID_SUPPORT_VERSION: '27.0.2',
2626

27-
KOTLIN_VERSION : '1.2.21',
27+
KOTLIN_VERSION : '1.2.30',
2828

2929
MIN_SDK_VERSION : 21,
3030

chrome-tabs/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ android {
2222
}
2323

2424
dependencies {
25-
implementation 'com.github.michael-rapp:android-util:1.15.0'
25+
compile 'com.github.michael-rapp:android-util:1.15.0'
2626
implementation rootProject.ext.deps["annotations"]
2727
implementation rootProject.ext.deps["appcompat-v7"]
2828
testImplementation rootProject.ext.deps["junit"]

0 commit comments

Comments
 (0)