Skip to content

Commit

Permalink
'readline and vi edit mode'
Browse files Browse the repository at this point in the history
  • Loading branch information
ScheintodX committed Jan 20, 2023
1 parent d6158e4 commit 31e8471
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chatia
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import openai
from colorama import Fore
from colorama import init as colorama_init
import openai
import readline

Date = "Older than Mi 18. Jan 13:30:27 CET 2023"
Version = "1.0.0"
Expand All @@ -23,6 +24,8 @@ class CONTINUE( Exception ):
if __name__ == "__main__":

colorama_init()
#readline.set_edit_mode('vi')
readline.parse_and_bind("set editing-mode vi")

argp = argparse.ArgumentParser(
description="Your friendly AI V" + str( Version ) )
Expand Down

0 comments on commit 31e8471

Please sign in to comment.