diff options
| author | troido <troido@protonmail.com> | 2021-01-02 19:44:15 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2021-01-02 19:44:15 +0100 |
| commit | aef1cab5060ef1572750699b4e24292406706e4c (patch) | |
| tree | dc12f6eb9e00ea22173fdb95716f2c56b7dc11bd /asciifarmclient/parseargs.py | |
| parent | 766191658d17bdcd4e4ab3184ddf37286a707ac0 (diff) | |
update to new ratuil interface and allow choosing backend
Diffstat (limited to 'asciifarmclient/parseargs.py')
| -rw-r--r-- | asciifarmclient/parseargs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/asciifarmclient/parseargs.py b/asciifarmclient/parseargs.py index 2ab56ab..133c477 100644 --- a/asciifarmclient/parseargs.py +++ b/asciifarmclient/parseargs.py @@ -31,6 +31,7 @@ def parse_args(argv): parser.add_argument('-o', '--logfile', help='All game messages will be written to this file.', default=None) parser.add_argument('--reset-style', help='Reset the style when it changes. Useful on some terminals', action="store_true") parser.add_argument('--blink-bright-background', help='Use blink attribute to make background brighter. Useful for terminals that don\'t have bright backgrounds usually. Implies --reset-style', action="store_true") + parser.add_argument('--ratuil-screen', help='The drawing backend that ratuil uses', choices=["curses", "ansi", "ansibuffered"], default="curses") colourGroup = parser.add_mutually_exclusive_group() colourGroup.add_argument('-l', '--colours', '--colors', help='enable colours! :)', action="store_true") @@ -65,4 +66,4 @@ def parse_args(argv): else: name = username - return (name, args.socket, address, keybindings, charmap, colours, args.logfile, {"always_reset": args.reset_style, "blink_bright_background": args.blink_bright_background}) + return (name, args.socket, address, keybindings, charmap, colours, args.logfile, args.ratuil_screen, {"always_reset": args.reset_style, "blink_bright_background": args.blink_bright_background}) |
