1. 29 Aug, 2016 3 commits
  2. 28 Aug, 2016 1 commit
    • Benno Schulenberg's avatar
      new feature: allow text selection by holding Shift with the cursor keys · 382c9d79
      Benno Schulenberg authored
      Add the keycodes and routines to allow the user to forego setting the
      mark explicitly (with M-A / ^6) and instead quickly select a few words
      or lines by holding down Shift together with the movement keys.
      
      (Some combinations with Shift are swallowed by some terminal emulators.
      To work around some of those, the combinations Shift+Alt+Left/Right work
      as Shift+Home/End and Shift+Alt+Up/Down work as Shift+PageUp/PageDown.)
      382c9d79
  3. 17 Aug, 2016 1 commit
  4. 16 Aug, 2016 3 commits
  5. 15 Aug, 2016 1 commit
  6. 14 Aug, 2016 2 commits
  7. 07 Aug, 2016 2 commits
  8. 02 Aug, 2016 2 commits
  9. 31 Jul, 2016 2 commits
  10. 27 Jul, 2016 1 commit
  11. 24 Jul, 2016 1 commit
  12. 16 Jul, 2016 1 commit
  13. 13 Jul, 2016 2 commits
  14. 12 Jul, 2016 2 commits
  15. 03 Jul, 2016 1 commit
    • Benno Schulenberg's avatar
      tweaks: rename a variable to be more accurate · 528b79b5
      Benno Schulenberg authored
      When we get a ^J as verbatim input, it is not possible to include it
      into the file buffer or the prompt answer, because this would mean
      adding an encoded null to the buffer or answer, and that is not what
      the user intended.  One option would have been to simply ignore a ^J
      in verbatim input.  But the choice has been made to act the same way
      as when the ^J (0x0A) is found in the file data: start a new line.
      
      That is the same response as to the Enter key, yes -- but the code
      for the Enter key is ^M (0x0D), not ^J.  So, to be more precise,
      rename the relevant variable from 'got_enter' to 'got_newline'.
      528b79b5
  16. 29 Jun, 2016 1 commit
  17. 27 Jun, 2016 2 commits
  18. 25 Jun, 2016 1 commit
    • Benno Schulenberg's avatar
      tweaks: try to distinguish between keystrokes and characters · ddd9c7a0
      Benno Schulenberg authored
      Keystrokes are single integers (aided by the flags meta_key and
      func_key) but in the input stream they can be encoded as escape
      sequences (a series of bytes).  Characters are values in byte
      range, but in UTF-8 one character can consist of multiple bytes.
      
      Also rename two variables, because the secondary input buffer
      that they refer to contains only characters (mostly just one),
      never any shortcuts; and there are too many "kbinput" already.
      ddd9c7a0
  19. 23 Jun, 2016 1 commit
  20. 22 Jun, 2016 1 commit
  21. 21 Jun, 2016 1 commit
  22. 20 Jun, 2016 2 commits
  23. 15 Jun, 2016 1 commit
  24. 14 Jun, 2016 1 commit
    • Benno Schulenberg's avatar
      input: don't allocate too much, and don't move too many · 7165bd5c
      Benno Schulenberg authored
      To add a character, one does not need to allocate twice its size.
      And the amount to be moved does not depend on the size of the new
      character; it just needs to include the terminating zero.
      
      (This fixes in do_output() the same logical mistakes that were fixed
      in do_statusbar_output() last February, in acf19bde and 7c0e4333.)
      7165bd5c
  25. 13 Jun, 2016 1 commit
  26. 12 Jun, 2016 1 commit
  27. 30 May, 2016 1 commit
  28. 27 May, 2016 1 commit