A Slashy Dashy Spiral [duplicate]

Given a positive integer N, output the innermost N×N square of an ASCII art spiral made of -|/\ that spirals clockwise inward.

The - is used for horizontal portions, | for vertical portions, and / and \ for corners. The first character is - and the spiral proceeds left and down.

Specifically, when N is 1 the output is:

-


When N is 2 the output is:

/-
\-


When N is 3 the output is:

--\
/-|
\-/


When N is 4 the output is:

 /--\
|/-|
|\-/
\---


Note how every output is a square of N by N characters.

The pattern continues in the same way:

N=1
-

N=2
/-
\-

N=3
--\
/-|
\-/

N=4
/--\
|/-|
|\-/
\---

N=5
----\
/--\|
|/-||
|\-/|
\---/

N=6
/----\
|/--\|
||/-||
||\-/|
|\---/
\-----

N=7
------\
/----\|
|/--\||
||/-|||
||\-/||
|\---/|
\-----/

N=8
/------\
|/----\|
||/--\||
|||/-|||
|||\-/||
||\---/|
|\-----/
\-------

etc.


The shortest code in bytes wins.

Charcoal, 17 16 bytes:

↶⁴-Ｆ⊖Ｎ«↶²/ι↶²\-ι


Try it online! Link is to verbose version of code.

↷²-¶Ｆ⊖Ｎ«/ι↶²\-ι↶


Try it online! Link is to verbose version of code.

Edit: Saved 1 byte thanks to @icrieverytim.

• Aw shoot, I got ninja'd. ;-; Anyways, 16 bytes. Oct 4, 2017 at 1:06
• @icrieverytim Oh, I forgot about Decremented, it's too new.
– Neil
Oct 4, 2017 at 1:08
• Neil are you the creator of Charcoal? Oct 4, 2017 at 2:46
• @Jonah ASCII-only, along with DLosc, created Charcoal. Oct 4, 2017 at 4:32

Python 2, 148 134 bytes

f=lambda n,J=''.join:n<2and['-']or n%2and['-'*~-n+'\\']+map(J,zip(f(n-1),'|'*(n-2)+'/'))or map(J,zip('/'+'|'*n,f(n-1)))+['\\'+'-'*~-n]


Try it online!