Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Crash in small terminal window

Abierto
#697 2 comentarios 0 reacciones 0 asignados Ver en GitHub

@PtJade-Ceramic ya está trabajando en esto.

Desde el 30/8/2026.

  • #699 de @PtJade-Ceramic — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
csharp
Área
cli

Línea de trabajo

Comienza reproduciendo el fallo en una terminal pequeña de Windows mientras ejecutas NewLocaleCommand; después, sigue la pila a través de PromptHelper.PromptValue y Sharprompt's DefaultConsoleDriver.ClearLine. Compara el comportamiento con shibayan/Sharprompt#283; se considera terminado cuando el prompt ya no lanza una ArgumentOutOfRangeException cuando la terminal es pequeña.

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

Descripción

Issue-Bug Needs-Triage
Brief description of your issue

https://aka.ms/AA13amrw

Steps to reproduce

shibayan/Sharprompt#283

Expected behavior

N/A

Actual behavior
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top')
Actual value was 41.
   at System.ConsolePal.SetCursorPosition(Int32 left, Int32 top)
   at Sharprompt.Drivers.DefaultConsoleDriver.SetCursorPosition(Int32 left, Int32 top)
   at Sharprompt.Drivers.DefaultConsoleDriver.ClearLine(Int32 top)
   at Sharprompt.Internal.OffscreenBuffer.ClearConsole(Int32 cursorBottom, Int32 writtenLineCount)
   at Sharprompt.Internal.RenderScope.Dispose()
   at Sharprompt.Forms.FormRenderer.Render[TModel](Action`2 template, TModel result)
   at Sharprompt.Forms.FormRenderer.Render[TModel](Action`2 template, TModel result)
   at Sharprompt.Forms.FormBase`1.Start()
   at Sharprompt.Prompt.Input[T](InputOptions`1 options)
   at Sharprompt.Prompt.Input[T](Action`1 configure)
   at Sharprompt.Prompt.Input[T](String message, Object defaultValue, String placeholder, IList`1 validators)
   at Microsoft.WingetCreateCLI.PromptHelper.PromptValue[T](String message, Object model, String memberName, T instance)
   at InvokeStub_PromptHelper.PromptValue(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Microsoft.WingetCreateCLI.PromptHelper.PromptPropertyAndSetValue[T](Object model, String memberName, T instance, Int32 minimum, Object validationModel, String validationName)
   at Microsoft.WingetCreateCLI.Commands.BaseCommand.PromptOptionalProperties[T](T manifest, List`1 optionalPropertiesNames)
   at Microsoft.WingetCreateCLI.Commands.NewLocaleCommand.GenerateLocaleManifest(Manifests originalManifests, LocaleManifest referenceLocaleManifest)
   at Microsoft.WingetCreateCLI.Commands.NewLocaleCommand.Execute()
   at Microsoft.WingetCreateCLI.Program.Main(String[] args)
Environment
wingetcreate.exe info
PS C:\Users\tbyta\GitHub\winget-pkgs\manifests\m\Microsoft\Sysinternals\Whois\1.21> wingetcreate.exe info                                                 
Windows 程序包管理器清单创建程序 v1.12.13.0
Copyright (c) Microsoft Corporation. All rights reserved.

操作系统: Microsoft Windows NT 10.0.26200.0
系统体系结构: Arm64

Winget-Create 目录  路径                                                                                                             
---------------------------------------------------------------------------------------------------------------------------------
日志                %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\DiagOutputDir  
用户设置              %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\settings.json  
安装程序缓存            %TEMP%\wingetcreate                                                                                            

链接                                                  
----------------------------------------------------
隐私声明   https://aka.ms/winget-create-privacy         
许可协议   https://aka.ms/winget-create-license         
第三方声明  https://aka.ms/winget-create-3rdPartyNotice  
主页     https://aka.ms/winget-create
Lenguaje dominante
C#
Estrellas
656
Forks
115
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

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 microsoft/winget-create

Todos los issues de microsoft/winget-create

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.