A Melbourne man accused of fatally stabbing his partner's lover says the killing was an accident.
Hung An Vu, 45, appeared before Melbourne Magistrates Court via video link on Monday charged with the murder of Hung Viet Nguyen, 44, at Sunshine West in August.
"He admits he wanted to scare her and the deceased, but he says the stabbing itself was an accident," prosecutor Ashleigh Harrold told the court.
"He admits having the knife with him in advance."
Mr Nguyen died on August 5, 2017 after Vu confronted him about his relationship with Vu's de facto partner.
The couple's children were in the house at the time but did not witness the stabbing, Ms Harrold said.
Vu's partner was also stabbed during the confrontation.
Another adult has told police he tried to restrain Vu, but he did not witness the moment Mr Nguyen was fatally stabbed.
The couple's teenage children have also told police they could hear arguing in the moments leading up to Mr Nguyen's death.
"Both children can attest to a conversation between the accused and their mother," Ms Harrold said.
"The accused tells the mother about the allegation of cheating, who confirms it."
Vu is fighting the murder charge and will face a three-day pre-trial committal hearing to determine if he should stand trial.
His estranged partner and several other adults - including a woman who performed first aid on Mr Nguyen - are expected to give evidence.
Vu will remain in custody and return to court on March 27.