summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-10 15:07:21 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-10 15:07:21 +0000
commite7b7025cddc323c182e76cd99e6d2f063986bb6d (patch)
treec653035df636fc4fc7f74a813089c87786e4201a /src/server
parent703dc714c86b83e73acc0ed82944053f0f3b842f (diff)
downloadopenocd+libswd-e7b7025cddc323c182e76cd99e6d2f063986bb6d.tar.gz
openocd+libswd-e7b7025cddc323c182e76cd99e6d2f063986bb6d.tar.bz2
openocd+libswd-e7b7025cddc323c182e76cd99e6d2f063986bb6d.tar.xz
openocd+libswd-e7b7025cddc323c182e76cd99e6d2f063986bb6d.zip
prettier async output
git-svn-id: svn://svn.berlios.de/openocd/trunk@485 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/telnet_server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c
index c0d78501..96bbe1d2 100644
--- a/src/server/telnet_server.c
+++ b/src/server/telnet_server.c
@@ -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)