Changeset 14069 for trunk/FACT++/src/Readline.cc
- Timestamp:
- 06/04/12 21:48:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Readline.cc
r14010 r14069 74 74 int Readline::fScriptDepth = 0; 75 75 std::string Readline::fScript; 76 std::string Readline::fExternalInput; 76 77 77 78 // -------------------------------------------------------------------------- … … 307 308 void Readline::EventHook() 308 309 { 310 const string cpy = fExternalInput; 311 fExternalInput = ""; 312 313 if (!cpy.empty()) 314 { 315 rl_replace_line(cpy.c_str(), 1); 316 rl_done = 1; 317 } 318 309 319 const string p = GetUpdatePrompt(); 310 320 if (p.empty())
Note:
See TracChangeset
for help on using the changeset viewer.