PSReadLineKeyHandler Function "Copy" does not work when used in WSL

Abierto
#5,187 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
csharp, powershell
Área
cli

Línea de trabajo

Start by locating the PSReadLineKeyHandler implementation for the "Copy" function and the existing AsOSC52 handling used by Set-Clipboard. Verify the behavior in WSL and confirm that Copy uses the OSC 52 path when appropriate, with tests covering the resulting clipboard behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Issue-Enhancement Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
Description of the new feature/enhancement

PSReadLineKeyHandler Function "Copy" does not work when used in WSL. This might be because by default it does not use AsOSC52 method. Similar to how 'test' | Set-Clipboard wont work but 'test' | Set-Clipboard -AsOSC52 does.

Proposed technical implementation details (optional)

Allow PSReadLineKeyHandler Function "Copy" to use AsOSC52

Lenguaje dominante
C#
Estrellas
4.4k
Forks
341
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PowerShell/PSReadLine

Todos los issues de PowerShell/PSReadLine

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.