* Some WIP on FSE
This commit is contained in:
@@ -53,6 +53,8 @@ var _ = require('lodash');
|
||||
// * Index pos % for emit scroll events
|
||||
// * Some of this shoudl be async'd where there is lots of processing (e.g. word wrap)
|
||||
// * Fix backspace when col=0 (e.g. bs to prev line)
|
||||
// * Add back word delete
|
||||
// *
|
||||
|
||||
|
||||
var SPECIAL_KEY_MAP_DEFAULT = {
|
||||
|
||||
@@ -587,7 +587,7 @@ TelnetClient.prototype.handleSbCommand = function(evt) {
|
||||
// * Map ROWS -> 'termHeight' and only update if ours is 0
|
||||
// * Add any new variables, ignore any existing
|
||||
//
|
||||
Object.keys(evt.envVars).forEach(function onEnv(name) {
|
||||
Object.keys(evt.envVars || {} ).forEach(function onEnv(name) {
|
||||
if('TERM' === name && 'unknown' === self.term.termType) {
|
||||
self.setTermType(evt.envVars[name]);
|
||||
} else if('COLUMNS' === name && 0 === self.term.termWidth) {
|
||||
|
||||
Reference in New Issue
Block a user