Changeset 16868
- Timestamp:
- 06/19/13 13:14:57 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Readline.cc
r16862 r16868 141 141 142 142 // Bind delete, page up, page down 143 rl_bind_keyseq("\e[1~", rl_named_function("beginning-of-line")); 143 144 rl_bind_keyseq("\e[3~", rl_named_function("delete-char")); 145 rl_bind_keyseq("\e[4~", rl_named_function("end-of-line")); 144 146 rl_bind_keyseq("\e[5~", rl_named_function("history-search-backward")); 145 147 rl_bind_keyseq("\e[6~", rl_named_function("history-search-forward")); … … 322 324 if (p.empty()) 323 325 p = rl_prompt; 326 327 const string line_buffer = rl_line_buffer; 328 const int point = rl_point; 329 330 rl_replace_line("", 1); 331 UpdatePrompt(""); 332 Redisplay(); 333 334 rl_replace_line(line_buffer.c_str(), 1); 335 rl_point = point; 324 336 325 337 UpdatePrompt(p);
Note:
See TracChangeset
for help on using the changeset viewer.