Enha: pastefix
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@ elefant
|
|||||||
history/
|
history/
|
||||||
*.db
|
*.db
|
||||||
config.toml
|
config.toml
|
||||||
|
sysprompts/*.png
|
||||||
|
|||||||
2
main.go
2
main.go
@@ -26,7 +26,7 @@ func isASCII(s string) bool {
|
|||||||
func main() {
|
func main() {
|
||||||
pages.AddPage("main", flex, true, true)
|
pages.AddPage("main", flex, true, true)
|
||||||
if err := app.SetRoot(pages,
|
if err := app.SetRoot(pages,
|
||||||
true).EnableMouse(true).Run(); err != nil {
|
true).EnableMouse(true).EnablePaste(true).Run(); err != nil {
|
||||||
logger.Error("failed to start tview app", "error", err)
|
logger.Error("failed to start tview app", "error", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user