()
| 945 | } |
| 946 | |
| 947 | [kLine]() { |
| 948 | this[kSavePreviousState](); |
| 949 | const line = this[kAddHistory](); |
| 950 | this[kUndoStack] = []; |
| 951 | this[kRedoStack] = []; |
| 952 | this.clearLine(); |
| 953 | this[kOnLine](line); |
| 954 | } |
| 955 | |
| 956 | |
| 957 | // TODO(puskin94): edit [kTtyWrite] to make call this function on a new key combination |