This commit is contained in:
decoded
2022-02-28 16:45:51 -06:00
parent 5c4d1b9baa
commit 3c5da2e764
4 changed files with 6 additions and 5 deletions

View File

@@ -36,7 +36,8 @@ MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMdyymMMMMMMMMMMMMMMMMMMMMMMMMMMM
dr1p4ns1 v2.0 - cp437 ansi parsing - this logic will be rolled into bots like krylon/maple/g1mp dr1p4ns1 v2.0 - cp437 ansi parsing - this logic will be rolled into bots like krylon/maple/g1mp
``` ```
## screenshots ## screenshots
![screenshots](screenshots/ss.jpg) ![screenshots](screenshots/ss1.jpg)
![screenshots](screenshots/ss2.jpg)
## summary ## summary
## prerequisites ## prerequisites
- `apt install python3` - `apt install python3`
@@ -66,4 +67,4 @@ PUMPQUEUE: using the q key you can queue up a bunch of ansis to pump, then just
them off. if there is nothing in the queue then whatever is on the screen will be pumped them off. if there is nothing in the queue then whatever is on the screen will be pumped
FIFO: in order to use the pump feature, you need a fifo setup in something like weechat/irsii/etc.. FIFO: in order to use the pump feature, you need a fifo setup in something like weechat/irsii/etc..
if you have one setup, adjust the FIFO_PATH at the top of dr1p4ns1.py if you have one setup, adjust the FIFO_PATH at the top of dr1p4ns1.py
``` ```

View File

@@ -1,4 +1,4 @@
#################################################################################################### ################### SOF ########################################################################################### dr1p4ns1 version 2.3 ####### SOF
#################################################################################################### ####################### #################################################################################################### #######################
from glob import glob from glob import glob
from time import sleep from time import sleep
@@ -46,7 +46,7 @@ MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMdyymMMMMMMMMMMMMMMMMMMMMMMMMMMM
FIFO_PATH = f"{os.path.expanduser('~')}/.weechat/weechat_fifo" ##### FIFO_PATH = f"{os.path.expanduser('~')}/.weechat/weechat_fifo" #####
FIFO_ENABLED = True ##### FIFO_ENABLED = True #####
COPY_PATH = f"{os.path.expanduser('~')}/Pictures" ##### COPY_PATH = f"{os.path.expanduser('~')}/Pictures" #####
DELETE_PATH = "/tmp" ##### DELETE_PATH = "/tmp" #####
#################################################################################################### ####################### #################################################################################################### #######################
#################################################################################################### ####################### #################################################################################################### #######################
##### #####
@@ -1225,4 +1225,4 @@ class ANSIDecoder:
if __name__=="__main__": if __name__=="__main__":
FIFO_ENABLED = os.path.exists(FIFO_PATH) FIFO_ENABLED = os.path.exists(FIFO_PATH)
files = getfiles(sys.argv) files = getfiles(sys.argv)
ui = UI(files) ui = UI(files)

View File

Before

Width:  |  Height:  |  Size: 275 KiB

After

Width:  |  Height:  |  Size: 275 KiB

BIN
screenshots/ss2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB