what was black last move ? was it f7-f5 or f6-f5 ?
Get out of mate with en passant?

Assuming black's last move was pawn to f5 it sure looks like en passant would get you out of it. Interesting idea that - would love to see it in a professional game.

That's what I thought, but then the idea struck me: maybe there's some rule that prohibits en passant out of mate. Chesspresso has a bug, otherwise.

if the last move was f7-f5 then I cannot see why you were not allowed to en passant and get out of check that way. It's a legal move so why not? I did a quick google of this and someone else had the same problem on Yahoo chess. One of the responders said they had made this move in a tournament and the arbiter had allowed it.

@MrKornKid It wasn't me that was in position to use en passant. I was black. I had just thought that it wouldn't end after my last move. I expected to get mate later after my opponent used en passant +.
@hartehare Thanks for finding another incident like this. I googled for it first and didn't find one. I saw on the wikipedia entry for en passant that:
In his 1860 book Chess Praxis, Howard Staunton wrote that the en passant capture is mandatory in that instance [if it is the only legal move]. The rules of chess were amended to make this clear.[8] Today, it is settled that the player must make that move (or resign). The same is true if an en passant capture is the only move to get out of check.[15]:49
That last clause would apply to getting out of mate, too.

Okay lol, as black, even with en pessant it is checkmate starting with Qe1 though. Kinda cool you pointed something this unique out.
i've neve played OTB so I am not sure on anyting specific.

So something that was settled in 1860 is still causing a problem today! Looks like the software needs fixing - even though it probably happens very rarely, it's still annoying to happen even once... I wonder whether the move is allowed here on chess.com?

@MrKornKid I know, right? My move was partly motivated by the fun of the idea--out of imagining my opponent thinking, 'wtf?' for a moment then realizing he can move en passant--but then I was doubly surprised when Chesspresso returned a mate result. That gave me pause about the rules in that particular instance; it made me wonder if, as you suggest, "as soon as you mate a king" the game is over, whether en passant is available or not. But then, technically, it's never mate if there's another move open, and en passant is a move.
@harterhare Yeah! 155 years later and I was puzzled, for a moment.
So this just happened and, as it seems to me, white should be able to use en passant to get out of mate here; however, Chesspresso, the app I'm using, counted this as a mate. I would have mated the player, anyway, but I'm just curious if, technically, en passant can be used to get out of mate? I should think so.