mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-08 03:01:47 +00:00
Merge branch 'feat/ink-refactor' of github.com:NousResearch/hermes-agent into feat/ink-refactor
This commit is contained in:
commit
7803d21bcc
10 changed files with 78 additions and 239 deletions
|
|
@ -33,7 +33,6 @@ import reconciler, {
|
|||
dispatcher,
|
||||
getLastCommitMs,
|
||||
getLastYogaMs,
|
||||
isDebugRepaintsEnabled,
|
||||
recordYogaMs,
|
||||
resetProfileCounters
|
||||
} from './reconciler.js'
|
||||
|
|
@ -509,7 +508,6 @@ export default class Ink {
|
|||
'\x1b[H' +
|
||||
// cursor home
|
||||
(this.altScreenMouseTracking ? ENABLE_MOUSE_TRACKING : '') +
|
||||
// re-enable mouse (skip if CLAUDE_CODE_DISABLE_MOUSE)
|
||||
(this.altScreenActive ? '' : '\x1b[?1049l') +
|
||||
// exit alt (non-fullscreen only)
|
||||
'\x1b[?25l' // hide cursor (Ink manages)
|
||||
|
|
@ -762,19 +760,6 @@ export default class Ink {
|
|||
availableHeight: frame.viewport.height,
|
||||
reason: patch.reason
|
||||
})
|
||||
|
||||
if (isDebugRepaintsEnabled() && patch.debug) {
|
||||
const chain = dom.findOwnerChainAtRow(this.rootNode, patch.debug.triggerY)
|
||||
logForDebugging(
|
||||
`[REPAINT] full reset · ${patch.reason} · row ${patch.debug.triggerY}\n` +
|
||||
` prev: "${patch.debug.prevLine}"\n` +
|
||||
` next: "${patch.debug.nextLine}"\n` +
|
||||
` culprit: ${chain.length ? chain.join(' < ') : '(no owner chain captured)'}`,
|
||||
{
|
||||
level: 'warn'
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue