promptInputModel.ts ×1
Frontier kind: Code frontier
unlabeled · c_cbca9d3a5c1d
36 tests · 12609 LOC · 60 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
promptInputModel.ts ×1 — Focused concept
Introduced files:
promptInputModel.test|title=PromptInputModel multi-line navigate up in multi-line|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel multi-line navigate left in multi-line|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel recorded sessions Windows 11 (10.0.22621.3447), pwsh 7.4.2, starship prompt 1.10.2 input with accepted and run ghost text|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel recorded sessions Windows 11 (10.0.22621.3447), pwsh 7.4.2, starship prompt 1.10.2 input, go to start (ctrl+home), delete word in front (ctrl+delete)|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel recorded sessions Windows 11 (10.0.22621.3447), pwsh 7.4.2, starship prompt 1.10.2 input with ignored ghost text|occurrence=1 — Ancestor (broader)
Introduced tests:
stale trailing whitespace|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel multi-line basic 3 line|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel multi-line basic 2 line|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
promptInputModel.test|title=PromptInputModel should not fire onDidChangeInput events when nothing changes|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
promptInputModel.test|title=PromptInputModel ghost text With wrapping Fish ghost text in long line with wrapped content|occurrence=1, promptInputModel.test|title=PromptInputModel ghost text With wrapping Pwsh ghost text in long line with wrapped content|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel ghost text ghost text detected when strikethrough style is unique at the end|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel basic input and execute|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel ghost text ghost text detected when underline style is unique at the end|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel ghost text ghost text detected when bold style is unique at the end|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel ghost text ghost text detected when background color is unique at the end|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.test|title=PromptInputModel ghost text ghost text detected when foreground color is unique at the end|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
promptInputModel.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
promptInputModel.ts ×5 — Ancestor (broader)
Introduced files:
promptInputModel.test|title=PromptInputModel cursor navigation|occurrence=1, promptInputModel.test|title=PromptInputModel trailing whitespace whitespace preservation in cursor calculation|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.ts ×4 — Ancestor (broader)
Introduced files:
promptInputModel.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
promptInputModel.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
promptInputModel.ts ×3 — Ancestor (broader)
Introduced files:
promptInputModel.ts ×3 — Ancestor (broader)
Introduced files:
promptInputModel.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
promptInputModel.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
promptInputModel.ts ×1 — Ancestor (broader)
Introduced files:
promptInputModel.test|title=PromptInputModel ghost text trailing whitespace|occurrence=1, promptInputModel.test|title=PromptInputModel trailing whitespace cursor index calculation with whitespace|occurrence=1 — Ancestor (broader)
Introduced tests:
promptInputModel.ts ×4 — Ancestor (broader)
Introduced files:
promptInputModel.ts ×1 — Ancestor (broader)
Introduced files:
promptInputModel.ts ×1 — Ancestor (broader)
Introduced files:
promptInputModel.test|title=PromptInputModel ghost text no ghost text when earlier text has the same bold style|occurrence=1, promptInputModel.test|title=PromptInputModel ghost text no ghost text when background color matches earlier text|occurrence=1, +4 — Ancestor (broader)
Introduced tests:
promptInputModel.ts ×5 — Descendant (narrower)
Introduced files:
promptInputModel.ts ×2 — Descendant (narrower)
Introduced files:
promptInputModel.ts ×6 — Descendant (narrower)
Introduced files:
promptInputModel.ts ×40 — Descendant (narrower)
Introduced files:
log.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×72 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×7 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×4 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×3 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
amdX.ts ×18 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×201 — Descendant (narrower)
Introduced files:
network.ts ×1 — Descendant (narrower)
Introduced files:
amdX.ts ×8 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
network.ts ×3 — Descendant (narrower)
Introduced files:
hash.ts ×17 — Descendant (narrower)
Introduced files:
network.ts ×2 — Descendant (narrower)
Introduced files:
network.ts ×1 — Descendant (narrower)
Introduced files:
network.ts ×3 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
timeTravelScheduler.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
traceLogger.ts ×3 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×17 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
decorators.ts ×4 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
decorators.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
decorators.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×5 — Descendant (narrower)
Introduced files:
cancellation.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
decorators.ts ×5 — Descendant (narrower)
Introduced files:
event.ts ×8 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
cancelPreviousCalls.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1, lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
scanner.ts ×13 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
scanner.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×5 — Descendant (narrower)
Introduced files:
scanner.ts ×36 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×14 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×4 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
terminal.ts ×4 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×6 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×5 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×10 — Descendant (narrower)
Introduced files:
utils.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
platform.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
uri.ts ×9 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
errorMessage.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
nls.ts ×6 — Descendant (narrower)
Introduced files:
instantiation.ts ×5 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
platform.ts ×5 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
assert.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
types.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
path.ts ×6 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
uuid.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×2 — Descendant (narrower)
Introduced files:
uint.ts ×2 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
iterator.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.ts 2 introduced LOC · 1 range
Open complete file
494
const cell = line . getCell ( x ++ );
495
if ( ! cell || cell . getCode () === 0 ) {
497
>
}
498
if ( this . _isCellStyledLikeGhostText ( cell )) {
499
ghostTextIndex = cursorIndex + potentialGhostIndexOffset ;