Mercurial > octave-nkf
comparison src/input.cc @ 5247:3d5b7114da82
[project @ 2005-03-26 17:56:02 by jwe]
author | jwe |
---|---|
date | Sat, 26 Mar 2005 17:56:02 +0000 |
parents | 85b315ad5f7d |
children | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
5246:8a4cae8ee7b7 | 5247:3d5b7114da82 |
---|---|
175 | 175 |
176 if (line_editing || force_readline) | 176 if (line_editing || force_readline) |
177 { | 177 { |
178 bool eof; | 178 bool eof; |
179 | 179 |
180 BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE; | |
181 | |
182 retval = command_editor::readline (s, eof); | 180 retval = command_editor::readline (s, eof); |
183 | |
184 END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE; | |
185 | 181 |
186 if (! eof && retval.empty ()) | 182 if (! eof && retval.empty ()) |
187 retval = "\n"; | 183 retval = "\n"; |
188 } | 184 } |
189 else | 185 else |