@promus/cli 0.24.27 → 0.24.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/ui/app.tsx +3 -0
package/package.json
CHANGED
package/src/ui/app.tsx
CHANGED
|
@@ -478,6 +478,9 @@ export function ChatApp(props: AppProps) {
|
|
|
478
478
|
}
|
|
479
479
|
if (evt.sequence && !evt.ctrl && !evt.meta && !evt.option) {
|
|
480
480
|
const ch = evt.sequence
|
|
481
|
+
if (ch.length > 1) {
|
|
482
|
+
props.state.pushRow({ role: 'system', text: `pasted ${ch.length} chars` })
|
|
483
|
+
}
|
|
481
484
|
props.state.setInput(prev => {
|
|
482
485
|
const next = prev + ch
|
|
483
486
|
refreshSlashMatches(next)
|