Half-centuries from Tom Latham and Kane Williamson put New Zealand at 255-4 and in hot pursuit of Sri Lanka on day two of the first Test on Thursday.
The Black Caps trailed by 50 at stumps in Galle with Daryl Mitchell (41) and Tom Blundell (18) to resume in the morning.
“It’s been a great day for us,” Latham said. “We put their spinners under pressure. It is a nice position to be in.”
No New Zealander has scored a Test century in Galle and both Williamson and Latham looked set to end that drought before falling against the run of play.
Their 73-run partnership steadied the reply to Sri Lanka’s first innings of 305 but ended when Latham fell before tea for 55, top-edging a sweep shot that was caught at backward square leg.
World number two batter Willamson departed in the final session for 70 while trying to work Dhananjaya de Silva on the leg-side for a single, caught by wicketkeeper Kusal Mendis.
Aggressive sweep shots from the Kiwis foiled a concerted Sri Lankan spin attack and forced the hosts to spread the field.
It countered New Zealand’s usual vulnerability to spinners at Galle, where the tourists have lost all four of their prior Test matches played there.
“In these conditions you need to be proactive,” Latham said. “You need to use lot of sweeps.
“We are long way off from thinking of a win at this stage. We know things can happen very quickly here.”
De Silva had a second wicket when he bowled Rachin Ravindra, finishing 2-31 in an otherwise lacklustre day for the hosts.
‘Speed up quickly’: Fewer than five overs were played in a morning session delayed by rain.
Sri Lanka belatedly resumed their first innings from 302-7 overnight but lost all three remaining wickets for just three runs.
“We felt we were in a very good position yesterday,” Sri Lanka spin coach Craig Howard said.
“If we had bowled like we generally do, we could have been better off. But both Prabath Jayasuriya and Ramesh Mendis were a bit off-colour today... I am sure they will come back tomorrow and do the job for the team.”
Rookie New Zealand fast bowler William O’Rourke took 5-55, his second five-wicket haul in just three Tests since his February debut against South Africa.
That home series saw him take 9-93, the best match figures for a debutant Kiwi bowler.
A groin injury ruled the 23-year-old O’Rourke out of the following series against Australia and his selection ahead of the more experienced Matt Henry had been a surprise.
But he vindicated selectors by delivering consistent speeds above 145 kilometres (90 miles) per hour to carve through the Sri Lankan top order on day one.
A century by Kamindu Mendis, his fourth from seven Test appearances, rescued Sri Lanka from 178-5.
Sri Lanka had slumped to 106 for four just after lunch but Kamindu -- player of the series for Sri Lanka during their recent tour of England -- provided a confident and calm performance that steadied the team.
Kamindu’s innings came to an end on 114 in the penultimate over of the day when Ajaz Patel turned the ball sharply and it popped off the glove for an easy catch at first slip.
Kamindu, a versatile all-rounder known for his ability to bat and bowl with both hands, is playing in his seventh Test match. He has already notched up four centuries and four half-centuries in scoring more than 800 runs.
Agencies