Title: Bracketed paste using INPUT_RECORD marks · Issue #20896 · PowerShell/PowerShell · GitHub
Open Graph Title: Bracketed paste using INPUT_RECORD marks · Issue #20896 · PowerShell/PowerShell
X Title: Bracketed paste using INPUT_RECORD marks · Issue #20896 · PowerShell/PowerShell
Description: Summary of the new feature / enhancement Since PowerShel reads the input stream using ReadConsoleInput, could you consider adding a support for "Bracketed Paste" marks in the INPUT_RECORD's stream. This could be done by handling boundary...
Open Graph Description: Summary of the new feature / enhancement Since PowerShel reads the input stream using ReadConsoleInput, could you consider adding a support for "Bracketed Paste" marks in the INPUT_RECORD's stream....
X Description: Summary of the new feature / enhancement Since PowerShel reads the input stream using ReadConsoleInput, could you consider adding a support for "Bracketed Paste" marks in the INPUT_RECORD...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/20896
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bracketed paste using INPUT_RECORD marks","articleBody":"### Summary of the new feature / enhancement\r\n\r\nSince PowerShel reads the input stream using ReadConsoleInput, could you consider adding a support for \"Bracketed Paste\" marks in the INPUT_RECORD's stream. This could be done by handling boundary marks for the inserted block in the following form:\r\n\r\n```c++\r\nrec.EventType == MENU_EVENT;\r\nrec.Event.MenuEvent.dwCommandId = 0x8001; // paste_begin\r\n\r\n// set of recs with wchar-by-wchar copy\r\n// of the block pasted from the clipboard\r\nrec.EventType == KEY_EVENT;\r\nrec.Event.KeyEvent.uChar.UnicodeChar = wchar; // Pasted data set\r\n\r\nrec.EventType == MENU_EVENT;\r\nrec.Event.MenuEvent.dwCommandId`= 0x8002; // paste_end\r\n```\r\n\r\nThis approach greatly simplifies the task of cross-platform transferring an inserted immutable block via SSH between hosts. Both from unix to windows to unix, and from windows to unix to windows.\r\n\r\nx-link https://github.com/microsoft/WSL/issues/10905","author":{"url":"https://github.com/o-sdn-o","@type":"Person","name":"o-sdn-o"},"datePublished":"2023-12-11T16:32:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/20896/PowerShell/issues/20896"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:13de3c1e-8bd4-ea0b-53f6-0c62506c197e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9722:E21C4:3100317:4497798:6A4F7965 |
| html-safe-nonce | ddb470751dd9c35cc566d8c39c2d88935e8011ff0de9b0b3cd346bb56a75b8be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzIyOkUyMUM0OjMxMDAzMTc6NDQ5Nzc5ODo2QTRGNzk2NSIsInZpc2l0b3JfaWQiOiI0MzgzMjUwNzQxMzk0ODk3MjUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2d211bea882db905f9c89d0d842607e66cb8a9ea0c375ef922744e891229b083 |
| hovercard-subject-tag | issue:2036064393 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/20896/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f982817121c0a9f9c1b66f0226c3084bb3f1dabd1e824a8fb768dac2bb95a118/PowerShell/PowerShell/issues/20896 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f982817121c0a9f9c1b66f0226c3084bb3f1dabd1e824a8fb768dac2bb95a118/PowerShell/PowerShell/issues/20896 |
| og:image:alt | Summary of the new feature / enhancement Since PowerShel reads the input stream using ReadConsoleInput, could you consider adding a support for "Bracketed Paste" marks in the INPUT_RECORD's stream.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | o-sdn-o |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width