Commit graph

14 commits

Author SHA1 Message Date
Guillermo Rauch
ffe419f26f fix lint 2016-07-07 20:03:38 -07:00
Guillermo Rauch
80fc25c6a4 make term configurable 2016-07-07 08:53:23 -07:00
Harrison Harnisch
88501ecef9 improved default color palette (#61) 2016-07-05 20:33:39 -07:00
Nuno Campos
ea8ca82186 font size improvements (#57)
* font size improvements
- fixed keyboard shortcut registering (listeners were being called twice)
- now saving fontSize in the state of Hyperterm
- Term now accepts fontSize as a prop and internally sets it
- added font size indicator on change (next to rows x cols)

* linting

* removed font size shortcuts from Hyperterm component, still in electron

* only show font size indicator when it has changed

* clean up fontSizeIndicatorTimeout on unmount, changeFontSize 2nd arg is now an options object
2016-07-05 17:08:45 -07:00
Guillermo Rauch
222064fd03 term: support for urls in fish
cc @paulirish
2016-07-05 13:33:27 -07:00
Guillermo Rauch
01689af952 term: handle legacy sh shell 2016-07-05 13:22:57 -07:00
Guillermo Rauch
951044c17e fix url handling in zsh (#50) 2016-07-05 13:14:30 -07:00
Guillermo Rauch
ed30007ec4 implement most recent hterm with lots of bugfixes 2016-07-04 20:59:40 -07:00
Guillermo Rauch
b79b34094f term: cross-platform font family settings (#26) 2016-07-04 19:08:45 -07:00
Guillermo Rauch
a57aedc1db Revert "term: hide them scrolbars (#42)"
This reverts commit fd0c330d98.
2016-07-04 19:05:16 -07:00
Guillermo Rauch
fd0c330d98 term: hide them scrolbars (#42) 2016-07-04 19:02:21 -07:00
Guillermo Rauch
e2215a3413 term: fix edge case when clearing after a screen clear 2016-07-03 14:11:45 -07:00
Guillermo Rauch
d8e841a3d8 Implement hterm (#28)
* remove legacy css

* hyperterm: delegate rows / cols calculation to hterm

* session: handle pty kill problems

* index: fix memory leak by removing sessions from the map upon exit

* app: remove local copy of `xterm.js`

* term: implement the `hterm` API and some needed overrides

* package: add `hterm-umd`

* hyperterm: add optimistic tab exit

* hyperterm: delegate key combination detection to the hterm <iframe> document

* term: register keyboard

* session: fix incorrect width after resizing and creating a new tab (#13)

* tabs: fix `user-select` css property

* term: fix focus issue when exiting a url

Instead of uninstalling the keyboard, we keep the
focus on the underlying terminal.

We register a new IO handler so that we intercept
all data events.

The reason we need to do this is that we can't
programmatically restore focus on the underlying
terminal unless it's in the same tick as a user
event (ie: click).

Since we were uninstalling the keyboard and
subsequently attempting to reinstall it without
such an event, pressing Ctrl+C after a url was
effectively resulting in a loss of focus and a
horrible horrible experience.

Now it's fixed :)

* text-metrics: remove module no longer used

hterm has a much better calculation technique anyways

* term: fix default bg

* term: fix nasty hterm bug that triggered an infinite copy loop

* index: add separator in `View` menu for full screen item

* term: implement cmd+K clearing and improve hterm's `wipeContents`
2016-07-03 13:35:45 -07:00
Guillermo Rauch
1a1178bd38 initial commit 2016-06-30 23:01:04 -07:00