Remove relics of older versions
This commit is contained in:
parent
e4aa416bfb
commit
201f123c7e
8
interactive.py
Normal file → Executable file
8
interactive.py
Normal file → Executable file
@ -1,12 +1,8 @@
|
||||
from telethon import sync, TelegramClient
|
||||
import tttcutils
|
||||
import os
|
||||
|
||||
if not ("TTTC_API_ID" in os.environ or "TTTC_API_HASH" in os.environ):
|
||||
print("Please set your environment variables \"TTTC_API_ID\" and \"TTTC_API_HASH\" accordingly.")
|
||||
print("Please consult https://core.telegram.org/api/obtaining_api_id on how to get your own API id and hash.")
|
||||
quit(1)
|
||||
api_id = os.environ["TTTC_API_ID"]
|
||||
api_hash = os.environ["TTTC_API_HASH"]
|
||||
api_id, api_hash = tttcutils.assert_environment()
|
||||
|
||||
client = TelegramClient("tttc", api_id, api_hash)
|
||||
client.connect()
|
||||
|
@ -1,60 +0,0 @@
|
||||
A a append/append
|
||||
B b back/BACK
|
||||
C c change
|
||||
D d delete
|
||||
E e end/END
|
||||
F f find/Find
|
||||
G g go/GO
|
||||
H h LEFT
|
||||
I i INSERT
|
||||
J j DOWN
|
||||
K k UP
|
||||
L l RIGHT
|
||||
M m
|
||||
N n
|
||||
O o insert line
|
||||
P p put
|
||||
Q q quit
|
||||
R r nReply, vReply/replace
|
||||
S s
|
||||
T t till
|
||||
U u
|
||||
V v visual mode
|
||||
v - text visual
|
||||
V - message visual
|
||||
vV - text line visual
|
||||
W w word
|
||||
X x del
|
||||
Y y yank
|
||||
Z z
|
||||
0 $ goto 0 $
|
||||
? help
|
||||
|
||||
RETURN send??
|
||||
|
||||
^A
|
||||
^B
|
||||
^C kill
|
||||
^D
|
||||
^E
|
||||
^F
|
||||
^G
|
||||
^H
|
||||
^I
|
||||
^J
|
||||
^K
|
||||
^L
|
||||
^M
|
||||
^N
|
||||
^O
|
||||
^P
|
||||
^Q
|
||||
^R
|
||||
^S
|
||||
^T
|
||||
^U
|
||||
^V
|
||||
^W
|
||||
^X
|
||||
^Y
|
||||
^Z
|
Loading…
Reference in New Issue
Block a user