Vaishampayana said On his not wishing to see the battle but to hear of it, that giver of boons Vyasa bestowed a boon on Sanjaya.
वैशम्पायन उवाच एतस्मिन् नेच्छति द्रष्टुं संग्रामं श्रोतुमिच्छति। वराणामीश्वरो व्यासः संजयाय वरं ददौ॥