fix(tui): preserve cursor position on Windows exit
This commit is contained in:
1 parent
2c87143f77
commit
1c1b13a3a9
3 files changed
+40
-2
No files matched your search
+2
-1
@@ -94,7 +94,7 @@ import {
|
||||
type FooterMode,
|
||||
type FooterHintTheme,
|
||||
} from "./footer-hints"
|
||||
import { createTuiHost, type TuiHost } from "./host"
|
||||
import { configureOpenTuiEnvironment, createTuiHost, type TuiHost } from "./host"
|
||||
|
||||
interface AppOptions {
|
||||
wsUrl?: string
|
||||
@@ -820,6 +820,7 @@ export class NanobotTui {
|
||||
}
|
||||
|
||||
static async create(options: AppOptions): Promise<NanobotTui> {
|
||||
configureOpenTuiEnvironment()
|
||||
const host = createTuiHost()
|
||||
const renderer = await createCliRenderer({
|
||||
targetFps: 30,
|
||||
|
||||
Reference in new issue
Block a user