summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/components
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-22 13:10:51 -0600
committerAdam <[email protected]>2026-01-22 22:12:12 -0600
commit0eb523631d6b321960ecbc3893a74d3df086a5d7 (patch)
tree798c04d55fa36df0bf67e4826eaa32ede4dd0d6c /packages/app/src/components
parent99e15caaf6c736e0c8ebc702e264e4f7a0113e3c (diff)
downloadopencode-0eb523631d6b321960ecbc3893a74d3df086a5d7.tar.gz
opencode-0eb523631d6b321960ecbc3893a74d3df086a5d7.zip
wip(app): line selection
Diffstat (limited to 'packages/app/src/components')
-rw-r--r--packages/app/src/components/prompt-input.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx
index 10af351cb..8dc64b428 100644
--- a/packages/app/src/components/prompt-input.tsx
+++ b/packages/app/src/components/prompt-input.tsx
@@ -1568,6 +1568,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
class="h-5 w-5"
onClick={(e) => {
e.stopPropagation()
+ if (item.commentID) comments.remove(item.path, item.commentID)
prompt.context.remove(item.key)
}}
aria-label={language.t("prompt.context.removeFile")}