Even more sophisticated readline functionality
This commit is contained in:
@@ -155,7 +155,6 @@ void TextGame::do_quit_command(const StringVec &cmd) {
|
||||
return;
|
||||
}
|
||||
actor_id_ = 0;
|
||||
stop_driver();
|
||||
}
|
||||
|
||||
void TextGame::do_command(const StringVec &words) {
|
||||
@@ -191,7 +190,7 @@ void TextGame::channel_printbuffer() {
|
||||
printbuffer_line_ = printbuffer->first_line();
|
||||
}
|
||||
while (printbuffer_line_ < printbuffer->first_unchecked()) {
|
||||
stdostream() << "* " << printbuffer->nth(printbuffer_line_) << std::endl;
|
||||
stdostream() << printbuffer->nth(printbuffer_line_) << std::endl;
|
||||
printbuffer_line_ += 1;
|
||||
}
|
||||
if (printbuffer_line_ > printbuffer->first_line()) {
|
||||
|
||||
Reference in New Issue
Block a user