mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
chore(tui): remove dead branch cleanup code
- drop unused TUI helpers, test-only layout scaffolding, and stale public debug exports - remove an unused profiler import and trim test-only coverage for deleted helpers
This commit is contained in:
parent
635948d0e0
commit
ffa33e53f6
16 changed files with 9 additions and 57 deletions
|
|
@ -22,7 +22,7 @@ export interface InkCacheSizes {
|
|||
wrap: number
|
||||
}
|
||||
|
||||
export function inkCacheSizes(): InkCacheSizes {
|
||||
function inkCacheSizes(): InkCacheSizes {
|
||||
return {
|
||||
lineWidth: lineWidthCacheSize(),
|
||||
slice: sliceCacheSize(),
|
||||
|
|
|
|||
|
|
@ -98,19 +98,6 @@ export const scrollFastPathStats: ScrollFastPathStats = {
|
|||
}
|
||||
}
|
||||
|
||||
export function resetScrollFastPathStats(): void {
|
||||
scrollFastPathStats.captured = 0
|
||||
scrollFastPathStats.taken = 0
|
||||
scrollFastPathStats.declined.noPrevScreen = 0
|
||||
scrollFastPathStats.declined.heightDeltaMismatch = 0
|
||||
scrollFastPathStats.declined.other = 0
|
||||
scrollFastPathStats.lastDeclineReason = undefined
|
||||
scrollFastPathStats.lastHeightDelta = undefined
|
||||
scrollFastPathStats.lastHintDelta = undefined
|
||||
scrollFastPathStats.lastScrollHeight = undefined
|
||||
scrollFastPathStats.lastPrevHeight = undefined
|
||||
}
|
||||
|
||||
export function getScrollHint(): ScrollHint | null {
|
||||
return scrollHint
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue