« first day (185 days earlier)      last day (241 days later) » 

12:30 AM
@ConorO'Brien ok done pls pull and test?
 
reading from a file works
is grave mode supposed to be implemented?
 
Yeah but it isn't default
 
okay yeah Ctrl+C closes the program about half the time
is there something I can type to clear the canvas
also is there any referecne for grave mode?
 
not yet
grave + space should clear if you're in grave mode?
 
cool that works
 
12:43 AM
but hmm why is ctrl+c borked
@ConorO'Brien weird
 
¯\_(ツ)_/¯
 
ok idea
ctrl+f keyboardinterrupt
add print("yes it works", is_clear) or something
 
C:\Users\Conor O'Brien\Documents\Programming\Charcoal (master)
λ charcoal
Charcoal> 3
3
Charcoal> yes it works False

Cleared canvas
Charcoal> yes it works True

C:\Users\Conor O'Brien\Documents\Programming\Charcoal (master)
λ charcoal
Charcoal> `4
`4
Charcoal> ^C
C:\Users\Conor O'Brien\Documents\Programming\Charcoal (master)
λ
 
ok then add print("^C is not eof") after EOFerror
 
C:\Users\Conor O'Brien\Documents\Programming\Charcoal (master)
λ charcoal
Charcoal> `j
`j
Charcoal> ^C is not eofTraceback (most recent call last):
  File "C:\Users\Conor O'Brien\Documents\Programming\Charcoal\charcoal.py", line 3343, in <module>
    code = old_input(prompt)
EOFError: EOF when reading a line

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Conor O'Brien\Documents\Programming\Charcoal\charcoal.py", line 3443, in <module>
 
12:53 AM
Uh wat
@conor what did you do
 
line about 3442:
        except EOFError:
            print("^C is not eof")
            break
 
you are pressing ctrl+c right?
 
Are you using cmd?
 
yes
well, an emulator, but yeah
 
1:06 AM
which emulator
@Conor
 
cmder @ASCII-only
 
@ConorO'Brien 0/10 hyper > cmder
 
never heard of it nor do I wish to switch
 
Is it still broken in cmd?
@ConorO'Brien ok can you send a screenshot of your cmder shortcuts
 
where are those located
and yeah I think it is
 
1:22 AM
@ConorO'Brien same error?
 
lemme check but I think so
C:\Users\Conor O'Brien\Documents\Programming\Charcoal>charcoal.py
Charcoal> `j
`j
Charcoal> ^C is not eof

C:\Users\Conor O'Brien\Documents\Programming\Charcoal>charcoal.py
Charcoal> `3
`3
Charcoal> ^C is not eofTraceback (most recent call last):
  File "C:\Users\Conor O'Brien\Documents\Programming\Charcoal\charcoal.py", line
 3343, in <module>
    code = old_input(prompt)
EOFError: EOF when reading a line

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
yes
 
what happens if you press ctrl+z
 
C:\Users\Conor O'Brien\Documents\Programming\Charcoal>charcoal.py
Charcoal> `j
`j
Charcoal> ^Z
^C is not eof

C:\Users\Conor O'Brien\Documents\Programming\Charcoal>
 
Does your keyboard have a Break key
 
1:31 AM
Try Ctrl+Break then?
 
that doesn't give any errors
 
Does Python catch it
Also possibly cmd -> right click titlebar -> properties -> options -> screenshot?
 
it gives the ^C is not eof thing
 
hmm does python repl handle ctrl+c fine?
 
1:37 AM
can you try
 
yeah it works perfectly
 
ok weird
add print(__import__("os").name) to the top of charcoal.py?
@Conor
 
ok
C:\Users\Conor O'Brien\Documents\Programming\Charcoal (master)
λ charcoal
nt
Charcoal>
 
hmm i have no idea what's wrong :( :( :(
 
rip
probably just my haunted computer
 
1:52 AM
but at least grave mode exists now
 
2:05 AM
^
 

« first day (185 days earlier)      last day (241 days later) »