Implement unicode on console, move readline into driver
This commit is contained in:
@@ -103,7 +103,7 @@ private:
|
||||
world_->run_unittests();
|
||||
actor_id_ = world_->create_login_actor();
|
||||
stdostream() << "Login actor ID: " << actor_id_ << std::endl;
|
||||
get_stdio_channel()->set_prompt(console_.get_prompt());
|
||||
//get_stdio_channel()->set_prompt(console_.get_prompt());
|
||||
}
|
||||
|
||||
void event_update()
|
||||
@@ -113,7 +113,7 @@ private:
|
||||
eng::string line = get_stdio_channel()->in()->readline();
|
||||
if (line == "") break;
|
||||
console_.add(line);
|
||||
get_stdio_channel()->set_prompt(console_.get_prompt());
|
||||
//get_stdio_channel()->set_prompt(console_.get_prompt());
|
||||
do_command(console_.get_command());
|
||||
if (print_channeler_.channel(world_->get_printbuffer(actor_id_), stdostream())) {
|
||||
world_->invoke(print_channeler_.invocation(actor_id_));
|
||||
|
||||
Reference in New Issue
Block a user