一杯愁入诗
[yī bēi chóu rù shī]
It means mixing one's worries into writing poetry, turning the sorrows into poetic verses. Here, it expresses the sentiment that when the user feels upset, he or she would write poetry, which might carry those negative feelings or just the whole state filled with the mood at that moment.