Compare commits

...
Author SHA1 Message Date
def7220bfc fix(tui): support copying over ssh with set-clipboard on tmux config (#30472)
Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-08-06 10:23:32 +02:00
f6c5afe5a9 fix(desktop): disable packaged console logging (#40794)
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
2026-08-06 17:25:41 +10:00
Frank 847771fe06 fix log processor 2026-08-06 03:21:16 -04:00
3 changed files with 18 additions and 12 deletions
+11 -11
View File
@@ -54,15 +54,15 @@ export default {
console.log(JSON.stringify(data, null, 2))
const lakeIngest = getLakeIngest()
const [honeycomb, lake] = await Promise.all([
fetch("https://api.honeycomb.io/1/batch/zen", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Honeycomb-Team": Resource.HONEYCOMB_API_KEY.value,
},
body: JSON.stringify(events),
}),
const [lake] = await Promise.all([
// fetch("https://api.honeycomb.io/1/batch/zen", {
// method: "POST",
// headers: {
// "Content-Type": "application/json",
// "X-Honeycomb-Team": Resource.HONEYCOMB_API_KEY.value,
// },
// body: JSON.stringify(events),
// }),
...(lakeIngest
? [
fetch(lakeIngest.url, {
@@ -76,8 +76,8 @@ export default {
]
: []),
])
console.log(honeycomb.status)
console.log(await honeycomb.text())
// console.log(honeycomb.status)
// console.log(await honeycomb.text())
if (lake) {
console.log(lake.status)
console.log(await lake.text())
+5
View File
@@ -189,6 +189,11 @@ async function writeZip(output: string, entries: Entry[]) {
}
function initConsoleTransport() {
if (app.isPackaged) {
log.transports.console.level = false
return
}
const write = log.transports.console.writeFn.bind(log.transports.console)
log.transports.console.writeFn = (options) => {
try {
+2 -1
View File
@@ -23,7 +23,8 @@ function command(command: string, args: string[] = [], input?: string) {
function writeOsc52(text: string) {
if (!process.stdout.isTTY) return
const sequence = `\x1b]52;c;${Buffer.from(text).toString("base64")}\x07`
process.stdout.write(process.env.TMUX || process.env.STY ? `\x1bPtmux;\x1b${sequence}\x1b\\` : sequence)
const passthrough = `\x1bPtmux;\x1b${sequence}\x1b\\`
process.stdout.write(process.env.TMUX ? sequence + passthrough : process.env.STY ? passthrough : sequence)
}
export async function read() {