Improve tabs title (#892)
* Set tab title when asked by the contained shell process via ANSI code * Commented out process polling code * Removed unused module and constant * Remove getTitle method * Removed props binding * Removed polling clearTimeout * Removed session focus & blur * Remove listening for session `title` event * Removed SESSION_SET_PROCESS_TITLE action * Removed remainig blur
This commit is contained in:
parent
3f772311db
commit
97432df7a4
7 changed files with 6 additions and 105 deletions
|
|
@ -15,8 +15,7 @@ import {
|
|||
SESSION_USER_DATA,
|
||||
SESSION_URL_SET,
|
||||
SESSION_URL_UNSET,
|
||||
SESSION_SET_XTERM_TITLE,
|
||||
SESSION_SET_PROCESS_TITLE
|
||||
SESSION_SET_XTERM_TITLE
|
||||
} from '../constants/sessions';
|
||||
|
||||
export function addSession({uid, shell, pid, cols, rows, splitDirection}) {
|
||||
|
|
@ -127,14 +126,6 @@ export function clearActiveSession() {
|
|||
};
|
||||
}
|
||||
|
||||
export function setSessionProcessTitle(uid, title) {
|
||||
return {
|
||||
type: SESSION_SET_PROCESS_TITLE,
|
||||
uid,
|
||||
title
|
||||
};
|
||||
}
|
||||
|
||||
export function setSessionXtermTitle(uid, title) {
|
||||
return {
|
||||
type: SESSION_SET_XTERM_TITLE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue