Enha: pastefix
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@ elefant
|
||||
history/
|
||||
*.db
|
||||
config.toml
|
||||
sysprompts/*.png
|
||||
|
||||
2
main.go
2
main.go
@@ -26,7 +26,7 @@ func isASCII(s string) bool {
|
||||
func main() {
|
||||
pages.AddPage("main", flex, true, true)
|
||||
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)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user