mirror of
https://github.com/smittix/intercept.git
synced 2026-04-29 17:19:59 -07:00
Remove raw output display and filter DSD startup banner lines
The dmrRawOutput div was rendering garbled box-drawing characters from the dsd-fme ASCII art banner below the signal activity canvas. Remove the div and filter banner lines (box-drawing chars, version info) in the parser so they never become events. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -193,9 +193,7 @@ function handleDmrMessage(msg) {
|
||||
} else if (msg.type === 'slot') {
|
||||
// Update slot info in current call
|
||||
} else if (msg.type === 'raw') {
|
||||
// Raw DSD output — update last line display for diagnostics
|
||||
const rawEl = document.getElementById('dmrRawOutput');
|
||||
if (rawEl) rawEl.textContent = msg.text || '';
|
||||
// Raw DSD output — triggers synthesizer activity via dmrSynthPulse
|
||||
} else if (msg.type === 'heartbeat') {
|
||||
// Decoder is alive and listening — keep synthesizer in listening state
|
||||
if (isDmrRunning && dmrSynthInitialized) {
|
||||
@@ -222,8 +220,6 @@ function handleDmrMessage(msg) {
|
||||
if (typeof showNotification === 'function') {
|
||||
showNotification('DMR Error', detail);
|
||||
}
|
||||
const rawEl = document.getElementById('dmrRawOutput');
|
||||
if (rawEl) rawEl.textContent = detail;
|
||||
} else if (msg.text === 'stopped') {
|
||||
isDmrRunning = false;
|
||||
updateDmrUI();
|
||||
|
||||
Reference in New Issue
Block a user