| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent dfa8028 commit 83c9364
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -848,6 +848,8 @@ Interface.prototype._ttyWrite = function(s, key) { | |||
| 848 | 848 | if (key.ctrl && key.shift) { | |
| 849 | 849 | /* Control and shift pressed */ | |
| 850 | 850 | switch (key.name) { | |
| 851 | + // TODO(BridgeAR): The transmitted escape sequence is `\b` and that is | ||
| 852 | + // identical to <ctrl>-h. It should have a unique escape sequence. | ||
| 851 | 853 | case 'backspace': | |
| 852 | 854 | this._deleteLineLeft(); | |
| 853 | 855 | break; | |
@@ -945,8 +947,10 @@ Interface.prototype._ttyWrite = function(s, key) { | |||
| 945 | 947 | } | |
| 946 | 948 | break; | |
| 947 | 949 | ||
| 948 | - // TODO(BridgeAR): This seems broken? | ||
| 949 | 950 | case 'w': // Delete backwards to a word boundary | |
| 951 | + // TODO(BridgeAR): The transmitted escape sequence is `\b` and that is | ||
| 952 | + // identical to <ctrl>-h. It should have a unique escape sequence. | ||
| 953 | + // Falls through | ||
| 950 | 954 | case 'backspace': | |
| 951 | 955 | this._deleteWordLeft(); | |
| 952 | 956 | break; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -958,8 +958,6 @@ assertDeepAndStrictEqual(obj1, obj2); | |||
| 958 | 958 | ||
| 959 | 959 | // Check proxies. | |
| 960 | 960 | { | |
| 961 | - // TODO(BridgeAR): Check if it would not be better to detect proxies instead | ||
| 962 | - // of just using the proxy value. | ||
| 963 | 961 | const arrProxy = new Proxy([1, 2], {}); | |
| 964 | 962 | assert.deepStrictEqual(arrProxy, [1, 2]); | |
| 965 | 963 | const tmp = util.inspect.defaultOptions; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments