Commit Graph

7 Commits

Author SHA1 Message Date
David Cormier c04b6e64f6 Let user specify the id of the input bar
Input bar id is not globally set, but passed to the directive
through the input-id attribute.
2014-02-25 09:12:52 -05:00
David Cormier 5cd36f0779 Remove unnecessary id
Encapsulating the feature in a angular directive let us avoid
setting global ids for elements.
2014-02-23 10:56:04 -05:00
David Cormier 5f25a96b51 Work with inputNode element directly
Instead of using $scope.command, we work with the inputNode element
directly to have control over the caret position. This let us have
nick completition in the same way as WeeChat.

Fix #74
2014-02-23 10:55:59 -05:00
Tor Hveem 0bd443715a Remove autofocus since it is very mobile unfriendly 2014-01-22 11:08:06 +01:00
David Cormier 026881a29c Revert "Split messages with newline into multiple messages"
This reverts commit 6dd35fa890.

The commit breaks support for chrome.
2013-11-09 12:40:27 -05:00
Tor Hveem 6dd35fa890 Split messages with newline into multiple messages 2013-11-02 17:43:45 +01:00
David Cormier fcfe8ba4be Create inputbar directive 2013-10-27 17:54:51 -04:00