Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 1af9f13

Browse files
committed
minor bug fixes
1 parent d9d43ff commit 1af9f13

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

build/icon@4x.png

3.12 KB
Loading

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ var term = new Terminal({
1313
fontFamily: FontFamily,
1414
cursorBlink: CursorBlink,
1515
termProgram: "Kaiium",
16+
experimentalCharAtlas: "dynamic",
1617
});
1718
term.setOption("theme", {
1819
background: bgColor,
@@ -53,6 +54,7 @@ function log() {
5354
}
5455

5556
var viewport = document.querySelector(".xterm-viewport");
57+
var canvas = document.querySelectorAll("canvas");
5658
log();
5759

5860
term.onRender = function () {
@@ -76,3 +78,4 @@ console.log(bgColor);
7678
term.onResize(function (size) {
7779
ipc.send("terminal.resize", size);
7880
});
81+
term.write("Kaiium V1.0.4");

main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const {
55
globalShortcut,
66
Menu,
77
MenuItem,
8+
Tray,
9+
nativeImage,
810
} = require("electron");
911

1012
const pty = require("node-pty");
@@ -16,6 +18,8 @@ const { autoUpdater } = require("electron-updater");
1618

1719
const { bgColor, cols, rows, shellSettings } = getSettings();
1820

21+
const TrayImage = nativeImage.createFromPath("./build/icon@4x.png");
22+
1923
console.log(getSettings());
2024

2125
var shell =

0 commit comments

Comments
 (0)