Skip to content

Commit b00bec1

Browse files
committed
remove usePaste
1 parent 8acd92c commit b00bec1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cli/src/components/multiline-input.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useKeyboard, usePaste } from '@opentui/react'
1+
import { useKeyboard, /* usePaste */ } from '@opentui/react'
22
import { useCallback, useState, useEffect, useMemo, useRef } from 'react'
33

44
import { TextAttributes, type ScrollBoxRenderable } from '@opentui/core'
@@ -138,6 +138,7 @@ export function MultilineInput({
138138
}
139139
}, [value.length, cursorPosition])
140140

141+
/*
141142
usePaste(
142143
useCallback(
143144
(event) => {
@@ -152,6 +153,7 @@ export function MultilineInput({
152153
[focused, value, cursorPosition, onChange],
153154
),
154155
)
156+
*/
155157

156158
// Auto-scroll to bottom when content changes
157159
useEffect(() => {

0 commit comments

Comments
 (0)