change: selects now use inputmanager
fix: bad exit logic feat: field rename now supports renaming things with multiple widgets
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Cursor } from "./cursor.ts";
|
||||
import { InputManager } from "./InputManager.ts";
|
||||
|
||||
export class TerminalLayout {
|
||||
private static ALT_BUFFER_ENABLE = "\x1b[?1049h";
|
||||
@@ -22,7 +23,7 @@ export class TerminalLayout {
|
||||
|
||||
Deno.addSignalListener("SIGINT", () => {
|
||||
this.clearAll();
|
||||
Deno.exit(0);
|
||||
// Deno.exit(0);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -121,7 +122,8 @@ export class TerminalBlock {
|
||||
|
||||
private preserveHistory = false;
|
||||
|
||||
constructor(private prepend: string = "") {}
|
||||
constructor(private prepend: string = "") {
|
||||
}
|
||||
|
||||
setPreserveHistory(preserveHistory: boolean) {
|
||||
this.preserveHistory = preserveHistory;
|
||||
|
Reference in New Issue
Block a user