Skip to content
Snippets Groups Projects
  1. Jun 02, 2023
  2. Jun 01, 2023
  3. May 31, 2023
    • Deucе's avatar
      Add support for XTerm "Bracketed Paste" · 567f2d12
      Deucе authored
      At the same time, add BD, BE, PE, and PS to the terminfo entry.
      
      Note that it seems this is "normally" detected by seeing if $TERM
      contains "xterm" which shouldn't work with SyncTERM (which is wildly
      incompatible), but the terminfo source file here:
      https://invisible-island.net/ncurses/terminfo.ti.html
      Gives us hope in the form of this comment:
      
      https://invisible-island.net/xterm/xterm-paste64.html
      
      Bracketed paste was introduced by xterm patch #203 in May 2005, as part of a
      larger feature for manipulating the clipboard selection.  Few terminals aside
      from xterm fully implement the clipboard feature, but several copy this
      detail.  The names for the extended capabilities here were introduced by vim
      in January 2017, but used internally.  In 2023, vim patch 9.0.1117 is needed
      to work with this change.
      
      That is to say that it likely won't work on anyone's system today
      (except maybe Cyan's), but it may magically start working in the
      future... assuming tic supports these capnames.  No real clue there
      since there's absolutely no termcap support, and I use FreeBSD.
      567f2d12
    • Deucе's avatar
      Fix off-by-one in delete lines · 3eee47ba
      Deucе authored
      Previously, delete lines would erase the line above the current one.
      This was visible in vim which makes extensive use of delete line
      to scroll.
      3eee47ba
    • Deucе's avatar
      Call SetStretchBltMode(HDC, HALFTONE) before StretchBlt · f7dc0cc6
      Deucе authored
      In theory, this will allow higher quality scaling in GDI mode if
      the graphics driver supports it...
      
      It doesn't look like the drive used for VirtualBox does though, so
      I can't tell if it does anything or not.
      f7dc0cc6
    • Deucе's avatar
      More X11 improvements · ea7a6600
      Deucе authored
      Use the default visual and depth instead of "best"
      Use Xrender for sclaing when library is available and server supports it
      Set VisualIsRGB8 when possible
      ea7a6600
  4. May 26, 2023
  5. May 24, 2023
    • Deucе's avatar
      A few scaling fixes for X11 mode... · 3833c243
      Deucе authored
      - getscaling() incorrectly used an int intermediate variable
        This would force scaling to an integer value when read.
      - Only parse ConfigureNotify events describing a change to the SyncTERM window
        It appears that XWayland on ChromeOS was occasionally sending a
        ConfigureNotify event describing some other window to SyncTERM,
        and that window had a 1x1 size, which would cause SyncTERM to
        assert minimum size again (usually 640x480), which would set
        scaling to 1.0.
      3833c243
  6. May 23, 2023
  7. May 16, 2023
  8. May 15, 2023
  9. May 13, 2023
  10. May 12, 2023
    • Deucе's avatar
      Use a double for scaling instead of an integer · f9808ca5
      Deucе authored
      All bitmap drivers now support arbitrary scaling, and the scaling
      factor is a double, allowing arbitrary window scaling in all bitmap
      modes (making nelgin happy).
      
      While we're here, fix bugs in horizontal interpolation and X window
      resizeing.
      f9808ca5
  11. May 08, 2023
  12. May 07, 2023
Loading