feat(tui): use OpenTUI clipboard service
This commit is contained in:
parent
3f30203b72
commit
679a587c9d
21 changed files with 403 additions and 236 deletions
|
|
@ -60,6 +60,9 @@ async function mountForm(root: string, width = 80) {
|
|||
>
|
||||
<ClipboardProvider
|
||||
value={{
|
||||
async read() {
|
||||
return undefined
|
||||
},
|
||||
write(text) {
|
||||
copied.push(text)
|
||||
return Promise.resolve()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue