Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program crashes when encountering newline in Tmux #1

Open
sorrell opened this issue Mar 25, 2017 · 0 comments
Open

Program crashes when encountering newline in Tmux #1

sorrell opened this issue Mar 25, 2017 · 0 comments
Assignees

Comments

@sorrell
Copy link
Owner

sorrell commented Mar 25, 2017

When using tmux with a vertical split, InteractivePrompt crashes when the buffer runs over into a new line.

Unhandled Exception:                                                                                                  
System.ArgumentOutOfRangeException: Value must be positive and below the buffer height.                               
Parameter name: top                                                                                                   
  at System.TermInfoDriver.SetCursorPosition (Int32 left, Int32 top) <0x7f8248a78be0 + 0x00274> in <filename unknown>:
0                                                                                                                     
  at System.ConsoleDriver.SetCursorPosition (Int32 left, Int32 top) <0x7f8248a629c0 + 0x00048> in <filename unknown>:0
                                                                                                                      
  at System.Console.SetCursorPosition (Int32 left, Int32 top) <0x7f8248a61670 + 0x00011> in <filename unknown>:0      
  at Cintio.InteractivePrompt.RewriteLine (System.Collections.Generic.List`1 input, Int32 inputPosition) <0x41f634f0 +
 0x00127> in <filename unknown>:0                                                                                     
  at Cintio.InteractivePrompt.Run (System.Func`4 lambda, System.String prompt, System.String startupMsg, System.Collec
tions.Generic.List`1 completionList) <0x41f616b0 + 0x00dfb> in <filename unknown>:0                                   
  at ConsoleApplication3.Program.Main (System.String[] args) <0x41f24d50 + 0x00357> in <filename unknown>:0           
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Value must be positive and below the buffer hei
ght.                                                                                                                  
Parameter name: top                                                                                                   
  at System.TermInfoDriver.SetCursorPosition (Int32 left, Int32 top) <0x7f8248a78be0 + 0x00274> in <filename unknown>:
0                                                                                                                     
  at System.ConsoleDriver.SetCursorPosition (Int32 left, Int32 top) <0x7f8248a629c0 + 0x00048> in <filename unknown>:0
                                                                                                                      
  at System.Console.SetCursorPosition (Int32 left, Int32 top) <0x7f8248a61670 + 0x00011> in <filename unknown>:0      
  at Cintio.InteractivePrompt.RewriteLine (System.Collections.Generic.List`1 input, Int32 inputPosition) <0x41f634f0 +
 0x00127> in <filename unknown>:0                                                                                     
  at Cintio.InteractivePrompt.Run (System.Func`4 lambda, System.String prompt, System.String startupMsg, System.Collec                                      
tions.Generic.List`1 completionList) <0x41f616b0 + 0x00dfb> in <filename unknown>:0                                   
  at ConsoleApplication3.Program.Main (System.String[] args) <0x41f24d50 + 0x00357> in <filename unknown>:0  
@sorrell sorrell self-assigned this Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant