summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/IOHandler.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-05-08 23:04:39 +0000
committerGreg Clayton <gclayton@apple.com>2014-05-08 23:04:39 +0000
commitb89b7496cad6fbae29b7d007fa34012739cdf1e6 (patch)
tree1fc62546210ecaaaec9bd927fb57f8e71b841ac8 /lldb/source/Core/IOHandler.cpp
parent7833d9facbe18f523d17a0b434ae74a4efd4336b (diff)
downloadbcm5719-llvm-b89b7496cad6fbae29b7d007fa34012739cdf1e6.tar.gz
bcm5719-llvm-b89b7496cad6fbae29b7d007fa34012739cdf1e6.zip
"process kill" and "process detach" were causing double prompts or prompts that would overwrite each other. Fixed now.
<rdar://problem/16547729> llvm-svn: 208369
Diffstat (limited to 'lldb/source/Core/IOHandler.cpp')
-rw-r--r--lldb/source/Core/IOHandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp
index 8573a1a9c5c..79eb89251c8 100644
--- a/lldb/source/Core/IOHandler.cpp
+++ b/lldb/source/Core/IOHandler.cpp
@@ -618,7 +618,7 @@ IOHandlerEditline::Run ()
void
IOHandlerEditline::Hide ()
{
- if (m_editline_ap && m_editline_ap->GettingLine())
+ if (m_editline_ap)
m_editline_ap->Hide();
}
@@ -626,8 +626,10 @@ IOHandlerEditline::Hide ()
void
IOHandlerEditline::Refresh ()
{
- if (m_editline_ap && m_editline_ap->GettingLine())
+ if (m_editline_ap)
+ {
m_editline_ap->Refresh();
+ }
else
{
const char *prompt = GetPrompt();
OpenPOWER on IntegriCloud