diff --git a/README.md b/README.md index 2c0a2d3..f0228f7 100644 --- a/README.md +++ b/README.md @@ -370,7 +370,7 @@ parameter must be a string. - **unshiftLine(lines)** - unshift a line onto the top of the content. - **shiftLine(i)** - shift a line off the top of the content. - **pushLine(lines)** - push a line onto the bottom of the content. -- **popLine(i)** - pop a line off the top of the content. +- **popLine(i)** - pop a line off the bottom of the content. #### Box (from Element) @@ -424,7 +424,7 @@ Inherits all options, properties, events, and methods from Box. #### ScrollableBox (from Box) -**DEPRECATED** - Use box with the `scrollable` option instead. +**DEPRECATED** - Use Box with the `scrollable` option instead. A box with scrollable content. @@ -574,7 +574,7 @@ A box which allows multiline text input. - **keys** - use pre-defined keys (`i` or `enter` for insert, `e` for editor, `C-e` for editor while inserting). - **mouse** - use pre-defined mouse events (right-click for editor). -- **inputOnFocus** - call `readInput()` when the element is focus and +- **inputOnFocus** - call `readInput()` when the element is focused. automatically unfocus. ##### Properties: diff --git a/lib/widget.js b/lib/widget.js index be6db8b..c6d4be1 100644 --- a/lib/widget.js +++ b/lib/widget.js @@ -1044,7 +1044,7 @@ Screen.prototype.draw = function(start, end) { // *and UTF8, but do not declare U8. So ACS ends // up being used (slower than utf8). Terminals // that do not support ACS and do not explicitly - // support UTF8 get ugly their unicode characters + // support UTF8 get their unicode characters // replaced with really ugly ascii characters. // It is possible there is a terminal out there // somewhere that does not support ACS, but