hyper/lib
Benjamin Woodruff ac5c14adca Use xterm.js's fit addon when calling fitResize (#2594)
xterm.js doesn't use `this.term.charMeasure.width` when rendering. It
actually uses:

`Math.floor(this._terminal.charMeasure.width * window.devicePixelRatio)`

This is important, because character widths may be non-integer values,
which means that we can end up with an empty space on the right side of
the terminal window.

Instead of trying to match xterm's behavior, it's probably better if we
just use xterm's `fit` addon. This seems to behave better for me.

We might not want to land this as-is, becuase this addon forces an
annoying hard-coded 17px margin on the right side to compensate for a
scrollbar (see xtermjs/xterm.js#400), but at least for my use-cases,
this is still better than it was.
2018-01-15 18:36:02 +01:00
..
actions Use same hazel endpoint to notify update to Linux users (#2497) 2017-11-29 14:26:24 +01:00
components Use xterm.js's fit addon when calling fitResize (#2594) 2018-01-15 18:36:02 +01:00
constants Add context menu (#2001) 2017-11-03 21:24:41 +01:00
containers Xterm v3 integration (#2573) 2018-01-09 17:33:24 +01:00
reducers Xterm v3 integration (#2573) 2018-01-09 17:33:24 +01:00
store pty data events related perf improvements 2017-09-25 14:44:43 +02:00
utils Fix component decoration in renderer (#2454) 2017-11-13 16:02:49 +01:00
base-components.js Upgrade React to v16 2017-09-16 21:21:50 +02:00
command-registry.js Added keymap to rebind the 'break' command - Issue #2432 (#2531) 2017-12-18 17:17:20 +01:00
index.js Added keymap to rebind the 'break' command - Issue #2432 (#2531) 2017-12-18 17:17:20 +01:00
rpc.js [WIP] Use XO instead of Standard (#723) 2016-09-21 16:27:11 +02:00
selectors.js Add prettier and resolve all lint errors 2017-09-10 16:04:13 +02:00
terms.js Add perf optimizations (#1541) 2017-02-23 08:10:05 -03:00