There is a prohibition for writing during chol hamoed, with a few exceptions such as in cases where loss would be involved.
How does the prohibition of writing during chol hamoed apply for writing / typing in electronic devices, such as cellphones and computers?