forked from OSchip/llvm-project
Fixed an error where a random string would get executed after a recent fix that checked if the window column size was zero was added on the lldb driver startup.
llvm-svn: 113179
This commit is contained in:
parent
339cc7bfef
commit
f7c0fd8dc8
|
@ -1088,8 +1088,10 @@ Driver::MainLoop ()
|
|||
char buffer[25];
|
||||
|
||||
if (window_size.ws_col > 0)
|
||||
{
|
||||
sprintf (buffer, "settings set term-width %d", window_size.ws_col);
|
||||
m_debugger.HandleCommand ((const char *) buffer);
|
||||
m_debugger.HandleCommand ((const char *) buffer);
|
||||
}
|
||||
}
|
||||
|
||||
// Since input can be redirected by the debugger, we must insert our editline
|
||||
|
|
Loading…
Reference in New Issue