decosoftware/deco-ide

Improve console UI

开放

#58 创建于 2016年5月29日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (342 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (5,840 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

This one would be pretty easy for somebody to help with.

The current console UI kind of sucks: it's just a giant div that we stuff text in. We should try to use a terminal emulator.

  • text will wrap properly
  • we can autoscroll to the bottom better
  • probably won't lag during an ios build, when tons of text gets logged all at once (slowness might be due to other stuff)

This task is a prerequisite for being able to type back into the console (currently is read-only), and being able to search console output.

screen shot 2016-05-29 at 4 03 52 pm


How to improve it?

Consider using https://github.com/sourcelair/xterm.js, the actively maintained fork of termjs.

This should fix text-wrapping, scrolling, and probably performance (although we may also want to batch text output into the console). It will set us up to be able to run commands via the console and search console output.

贡献者指南