From 449096c0a3b9e4cf0cc44b123f09d2546487def1 Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Sun, 19 May 2019 14:17:12 +0200 Subject: [PATCH] logs: handle line feed and always use streaming remove the use of http server sent events, just use the streaming api handle line feeds by rewriting the current line. This isn't perfect since it won't handle subtle cases where the colors are change between lines but will work in all standard cases Now commands that writes a progess will work correctly without adding a new line every time and users will see the progress in realtime. --- src/components/log.vue | 95 +++++++++++++++++++++++------------------- 1 file changed, 52 insertions(+), 43 deletions(-) diff --git a/src/components/log.vue b/src/components/log.vue index d68dfb6..2aee263 100644 --- a/src/components/log.vue +++ b/src/components/log.vue @@ -4,12 +4,15 @@
+
+
+