mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
UI: add cursor options to the script editor (#615)
This commit is contained in:
committed by
GitHub
parent
709875d9ca
commit
9e75621cd2
@@ -1,4 +1,10 @@
|
||||
import type { editor } from "monaco-editor";
|
||||
|
||||
export type WordWrapOptions = "on" | "off" | "bounded" | "wordWrapColumn";
|
||||
|
||||
export type CursorStyle = editor.IEditorOptions["cursorStyle"];
|
||||
export type CursorBlinking = editor.IEditorOptions["cursorBlinking"];
|
||||
|
||||
export interface Options {
|
||||
theme: string;
|
||||
insertSpaces: boolean;
|
||||
@@ -9,4 +15,6 @@ export interface Options {
|
||||
fontLigatures: boolean;
|
||||
wordWrap: WordWrapOptions;
|
||||
vim: boolean;
|
||||
cursorStyle: CursorStyle;
|
||||
cursorBlinking: CursorBlinking;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user