mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
remove unnecessary session url field
This commit is contained in:
parent
65daf116ba
commit
5f0e80df08
4 changed files with 1 additions and 16 deletions
|
|
@ -82,7 +82,6 @@ class TermGroup_ extends React.PureComponent<TermGroupProps> {
|
|||
letterSpacing: this.props.letterSpacing,
|
||||
modifierKeys: this.props.modifierKeys,
|
||||
padding: this.props.padding,
|
||||
url: session.url,
|
||||
cleared: session.cleared,
|
||||
search: session.search,
|
||||
cols: session.cols,
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@ export const SESSION_USER_EXIT = 'SESSION_USER_EXIT';
|
|||
export const SESSION_SET_ACTIVE = 'SESSION_SET_ACTIVE';
|
||||
export const SESSION_CLEAR_ACTIVE = 'SESSION_CLEAR_ACTIVE';
|
||||
export const SESSION_USER_DATA = 'SESSION_USER_DATA';
|
||||
export const SESSION_URL_SET = 'SESSION_URL_SET';
|
||||
export const SESSION_URL_UNSET = 'SESSION_URL_UNSET';
|
||||
export const SESSION_SET_XTERM_TITLE = 'SESSION_SET_XTERM_TITLE';
|
||||
export const SESSION_SET_CWD = 'SESSION_SET_CWD';
|
||||
export const SESSION_SEARCH = 'SESSION_SEARCH';
|
||||
|
|
@ -63,14 +61,6 @@ export interface SessionClearActiveAction {
|
|||
export interface SessionUserDataAction {
|
||||
type: typeof SESSION_USER_DATA;
|
||||
}
|
||||
export interface SessionUrlSetAction {
|
||||
type: typeof SESSION_URL_SET;
|
||||
uid: string;
|
||||
}
|
||||
export interface SessionUrlUnsetAction {
|
||||
type: typeof SESSION_URL_UNSET;
|
||||
uid: string;
|
||||
}
|
||||
export interface SessionSetXtermTitleAction {
|
||||
type: typeof SESSION_SET_XTERM_TITLE;
|
||||
uid: string;
|
||||
|
|
@ -97,8 +87,6 @@ export type SessionActions =
|
|||
| SessionSetActiveAction
|
||||
| SessionClearActiveAction
|
||||
| SessionUserDataAction
|
||||
| SessionUrlSetAction
|
||||
| SessionUrlUnsetAction
|
||||
| SessionSetXtermTitleAction
|
||||
| SessionSetCwdAction
|
||||
| SessionSearchAction;
|
||||
|
|
|
|||
3
lib/hyper.d.ts
vendored
3
lib/hyper.d.ts
vendored
|
|
@ -117,10 +117,10 @@ export type session = {
|
|||
shell: string | null;
|
||||
title: string;
|
||||
uid: string;
|
||||
url: string | null;
|
||||
splitDirection?: 'HORIZONTAL' | 'VERTICAL';
|
||||
activeUid?: string;
|
||||
};
|
||||
|
||||
export type sessionState = Immutable<{
|
||||
sessions: Record<string, session>;
|
||||
activeUid: string | null;
|
||||
|
|
@ -384,7 +384,6 @@ export type TermProps = {
|
|||
term: Terminal | null;
|
||||
uid: string;
|
||||
uiFontFamily: string;
|
||||
url: string | null;
|
||||
webGLRenderer: boolean;
|
||||
webLinksActivationKey: 'ctrl' | 'alt' | 'meta' | 'shift' | '';
|
||||
windowsPty?: IWindowsPty;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ function Session(obj: Immutable.DeepPartial<session>) {
|
|||
title: '',
|
||||
cols: null,
|
||||
rows: null,
|
||||
url: null,
|
||||
cleared: false,
|
||||
search: false,
|
||||
shell: '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue