Skip to content

Commit

Permalink
Windows users expect to use Ctrl-C/Ctrl-V to copy/paste, not Ctrl-Shi…
Browse files Browse the repository at this point in the history
…ft-C/Ctrl-Shift-V.
  • Loading branch information
Bill-Gray committed Oct 4, 2020
1 parent cf24c23 commit 9f487d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pdcurses/getch.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,9 @@ int wgetch(WINDOW *win)

/* copy or paste? */

#ifndef _WIN32
if (SP->key_modifiers & PDC_KEY_MODIFIER_SHIFT)
#endif
{
if (0x03 == key)
{
Expand Down Expand Up @@ -553,6 +555,7 @@ int wget_wch(WINDOW *win, wint_t *wch)

PDC_LOG(("wget_wch() - called\n"));

assert( wch);
if (!wch)
return ERR;

Expand Down

0 comments on commit 9f487d4

Please sign in to comment.