prettier async output

git-svn-id: svn://svn.berlios.de/openocd/trunk@485 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe 2008-03-10 15:07:21 +00:00
parent 703dc714c8
commit e7b7025cdd
1 changed files with 5 additions and 0 deletions

View File

@ -114,7 +114,12 @@ void telnet_log_callback(void *priv, const char *file, int line,
const char *function, const char *string)
{
connection_t *connection = priv;
telnet_write(connection, "\b\b \b\b", strlen("\b\b \b\b"));
telnet_outputline(connection, string);
telnet_prompt(connection);
}
int telnet_target_callback_event_handler(struct target_s *target, enum target_event event, void *priv)