- {controlCheckboxIcon}
+ 0 && numSelected == items.length} partialCheck={numSelected > 0}/>
{
onClick={this.handleClickDelete}
>
-
- Delete Items
+
+ Delete Items
@@ -527,21 +603,10 @@ class HistoryView extends React.Component<{}, {}> {
className={cn("history-item", { "is-selected": hvm.selectedItems.get(item.historyid) })}
>
this.handleSelect(item.historyid)}>
-
-
-
-
-
-
+
|
-
-
- |
-
{getHistoryViewTs(nowDate, item.ts)} |
-
{formatSSName(snames, scrnames, item)} |
-
{formatRemoteName(rnames, item.remote)} |
-
this.activateItem(item.historyid)}>
-
+ this.handleUse(item)}
onCopy={() => this.handleCopy(item)}
@@ -550,6 +615,21 @@ class HistoryView extends React.Component<{}, {}> {
limitHeight={true}
/>
|
+
{formatSSName(snames, scrnames, item)} |
+
{formatRemoteName(rnames, item.remote)} |
+
{getHistoryViewTs(nowDate, item.ts)} |
+
this.activateItem(item.historyid)}>
+
+
+
+
+
+
+ |
diff --git a/src/app/magiclayout.ts b/src/app/magiclayout.ts
index dcba4620..31d9a745 100644
--- a/src/app/magiclayout.ts
+++ b/src/app/magiclayout.ts
@@ -21,7 +21,6 @@ let MagicLayout = {
// the 3 is for descenders, which get cut off in the terminal without this
TermDescendersHeight: 3,
TermWidthBuffer: 15,
-
};
let m = MagicLayout;
diff --git a/src/plugins/markdown/markdown.tsx b/src/plugins/markdown/markdown.tsx
index dd720f3f..ea393765 100644
--- a/src/plugins/markdown/markdown.tsx
+++ b/src/plugins/markdown/markdown.tsx
@@ -13,10 +13,11 @@ import "./markdown.less";
type OV = mobx.IObservableValue;
const MaxMarkdownSize = 200000;
+const DefaultMaxMarkdownWidth = 1000;
@mobxReact.observer
class SimpleMarkdownRenderer extends React.Component<
- { data: T.ExtBlob; context: T.RendererContext; opts: T.RendererOpts; savedHeight: number },
+ { data: T.ExtBlob; context: T.RendererContext; opts: T.RendererOpts; savedHeight: number, lineState: T.LineStateType },
{}
> {
markdownText: OV = mobx.observable.box(null, { name: "markdownText" });
@@ -73,7 +74,7 @@ class SimpleMarkdownRenderer extends React.Component<
maxHeight: opts.maxSize.height,
}}
>
-
+
);