PowerShell / PSReadLine

A bash inspired readline implementation for PowerShell
BSD 2-Clause "Simplified" License
3.71k stars 294 forks source link

__MH_EXECUTE_HEADER #2760

Closed hammerheadgreg5397 closed 3 years ago

hammerheadgreg5397 commented 3 years ago

Last 200 Keys: B J C C L A S S $ N S A f f i n e T r a n s f o r m Space O B J C C L A S S $ N S A l e r t Space O B J C C L A S S $ N S A n i m a t i o n C o n t e x t Space O B J C C L A S S $ N S A p p l e S c r i p t Space O B J C C L A S S $ N S A p p l i c a t i o n Space O B J C C L A S S $ N S A r c h i v e r Space O B J C C L A S S $ N S A r r a y Space O B J C C L A S S

Exception: System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. Parameter name: top Actual value was -5. at System.Console.SetCursorPosition(Int32 left, Int32 top) at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor) at Microsoft.PowerShell.PSConsoleReadLine.ForceRender() at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c) at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.InputLoop() at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\hunti_1gm1z3> __mh_execute_header _AuthorizationCopyRights _AuthorizationCreate _AuthorizationExecuteWithPrivileges _CATransform3DMakeScale _CFArrayCreate _CFDataAppendBytes _CFDataGetBytePtr _CFDataGetBytes _CFDataGetLength _CFDataGetTypeID _CFDictionaryCreateMutable _CFDictionarySetValue _CFGetTypeID _CFPropertyListCreateWithData _CFRelease _CFRunLoopGetMain _CFShow _CFStringConvertEncodingToIANACharSetName _CFStringConvertEncodingToNSStringEncoding _CFStringConvertIANACharSetNameToEncoding _CFStringConvertNSStringEncodingToEncoding _CFStringCreateCopy _CFStringCreateWithCString _CFStringGetCString _CFStringGetCStringPtr _CFStringGetLength _CFStringGetMaximumSizeForEncoding _CFStringGetTypeID _CFStringTransform _CFURLCreateStringByAddingPercentEscapes _CGContextSetAlpha _CGContextSetPatternPhase _CGPathAddCurveToPoint _CGPathCreateCopy _CGPathCreateMutable _CGPathMoveToPoint _CGPathRelease _CGRectGetMidX _CGRectGetMidY _CTFontCreateWithName _CTFontGetBoundingBox _CTFramesetterCreateWithAttributedString _CTFramesetterSuggestFrameSizeWithConstraints _DADiskCreateFromBSDName _DADiskMount _DASessionCreate _DASessionScheduleWithRunLoop _DASessionSetDispatchQueue _HIMenuSetFont _IOBSDNameMatching _IOIteratorNext _IOObjectConformsTo _IOObjectRelease _IORegistryEntryCreateCFProperty _IORegistryEntryFromPath _IORegistryEntryGetParentEntry _IOServiceGetMatchingService _IOServiceGetMatchingServices _IOServiceMatching _NSAccessibilityValueAttribute _NSApp _NSAppleScriptErrorMessage _NSAppleScriptErrorNumber _NSApplicationMain _NSBackgroundColorAttributeName _NSBeep _NSDefaultRunLoopMode _NSEqualRects _NSFileHandleDataAvailableNotification _NSFilePosixPermissions _NSFileSize _NSFileSystemFreeSize _NSFileSystemSize _NSFileTypeDirectory _NSFileTypeForHFSTypeCode _NSFilenamesPboardType _NSFontAttributeName _NSForegroundColorAttributeName _NSGetSizeAndAlignment _NSHomeDirectory _NSImageNameActionTemplate _NSImageNameAddTemplate _NSImageNameBookmarksTemplate _NSImageNameEveryone _NSImageNameExitFullScreenTemplate _NSImageNameGoLeftTemplate _NSImageNameGoRightTemplate _NSImageNameIconViewTemplate _NSImageNameListViewTemplate _NSImageNameLockLockedTemplate _NSImageNameQuickLookTemplate _NSImageNameRefreshTemplate _NSImageNameRemoveTemplate _NSImageNameShareTemplate _NSImageNameSlideshowTemplate _NSImageNameStatusAvailable _NSImageNameStatusNone _NSImageNameStopProgressTemplate _NSInferMappingModelAutomaticallyOption _NSInsetRect _NSIntegralRect _NSLinkAttributeName _NSLocalizedDescriptionKey _NSLocalizedFailureReasonErrorKey _NSLocalizedRecoveryOptionsErrorKey _NSLocalizedRecoverySuggestionErrorKey _NSLog _NSMenuDidBeginTrackingNotification _NSMigratePersistentStoresAutomaticallyOption _NSMouseInRect _NSParagraphStyleAttributeName _NSPatternColorSpace _NSPointInRect _NSRecoveryAttempterErrorKey _NSRectFill _NSRunAlertPanel _NSRunLoopCommonModes _NSSearchPathForDirectoriesInDomains _NSSelectorFromString _NSShadowAttributeName _NSStreamDataWrittenToMemoryStreamKey _NSStreamFileCurrentOffsetKey _NSStringFromClass _NSStringFromProtocol _NSStringFromSelector _NSStringPboardType _NSTaskDidTerminateNotification _NSTemporaryDirectory _NSTextStorageDidProcessEditingNotification _NSURLAuthenticationMethodServerTrust _NSURLErrorDomain _NSURLErrorFailingURLErrorKey _NSURLIsDirectoryKey _NSURLSessionTransferSizeUnknown _NSURLVolumeNameKey _NSUnderlyingErrorKey _NSUserNotificationDefaultSoundName _NSViewAnimationEndFrameKey _NSViewAnimationTargetKey _NSViewNoInstrinsicMetric _NSWindowDidBecomeKeyNotification _NSWindowDidResignKeyNotification _NSWorkspaceDidMountNotification _NSWorkspaceDidUnmountNotification _NSZeroPoint _NSZeroRect _NSZeroSize _OBJCCLASS$_CABasicAnimation _OBJCCLASS$_CAGradientLayer _OBJCCLASS$_CAKeyframeAnimation _OBJCCLASS$_CALayer _OBJCCLASS$_CAMediaTimingFunction _OBJCCLASS$_CATextLayer _OBJCCLASS$_CATransaction _OBJCCLASS$_NSAffineTransform _OBJCCLASS$_NSAlert _OBJCCLASS$_NSAnimationContext _OBJCCLASS$_NSAppleScript _OBJCCLASS$_NSApplication _OBJCCLASS$_NSArchiver _OBJCCLASS$_NSArray _OB Oops, something went wrong. Please report this bug with the details below. Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys: B J C C L A S S $ N S A f f i n e T r a n s f o r m Space O B J C C L A S S $ N S A l e r t Space O B J C C L A S S $ N S A n i m a t i o n C o n t e x t Space O B J C C L A S S $ N S A p p l e S c r i p t Space O B J C C L A S S $ N S A p p l i c a t i o n Space O B J C C L A S S $ N S A r c h i v e r Space O B J C C L A S S $ N S A r r a y Space O B J C C L A S S

Exception: System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. Parameter name: top Actual value was -5. at System.Console.SetCursorPosition(Int32 left, Int32 top) at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor) at Microsoft.PowerShell.PSConsoleReadLine.ForceRender() at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c) at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.InputLoop() at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

github-actions[bot] commented 3 years ago

This issue was already fixed (see #1306). Please upgrade to the 2.1.0 version of PSReadLine from PowerShell Gallery. See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.