Implement mouse text selection support
Don't declare the helper routines as extern "C"
Delete the display widget of the base class when constructing an input window
Clear selection if something is selected in another window or if the input caret moves
Get the text from the correct display widget when copying to the clipboard
Remove active selection reference when display widgets are destroyed
When pasting text, replace tabs and newlines with spaces