Commit Graph

827 Commits (master)

Author SHA1 Message Date
Devin J. Pohly e0215d5377 Reduce visibility wherever possible
6 years ago
Devin J. Pohly 30683c70ab Limit usage of extern to config.h globals
6 years ago
Devin J. Pohly a3beb626d2 Remove x.c dependency on term
6 years ago
Devin J. Pohly a5dc1b4697 Pull term references out of xdrawcursor
6 years ago
Devin J. Pohly 88d8293fb4 Move win-agnostic parts of draw/drawregion to st.c
6 years ago
Devin J. Pohly 05c66cb37d Split mode bits between Term and TermWindow
6 years ago
Devin J. Pohly 33201ac65f Move CRLF input processing into ttywrite
6 years ago
Devin J. Pohly 52d6fb1ab1 Move terminal echo logic into st.c
6 years ago
Devin J. Pohly cfc7acdfd9 Move remaining selection mode logic into selextend
6 years ago
Devin J. Pohly bcb5d3adbe Move terminal-related selection logic into st.c
6 years ago
Devin J. Pohly 5683b1f80c Move X-specific selection info into XSelection
6 years ago
Devin J. Pohly 138caf294e Have selected() check whether selection exists
6 years ago
Devin J. Pohly d84f3f4bd1 Rely on ttyresize to set tty size
6 years ago
Devin J. Pohly 8b564c1a3f Remove X and fontconfig from st.c
6 years ago
Devin J. Pohly 3bb900cd6c Remove Time argument from xsetsel
6 years ago
Devin J. Pohly 323d38da20 Make win variable internal to x.c
6 years ago
Devin J. Pohly 65976c1a29 Move config.h include from st.c to x.c
6 years ago
Devin J. Pohly 32d3b1d00f Factor out equivalent code from ttyread/ttysend
6 years ago
Devin J. Pohly 69e32a61df Move opt_* into same file as main()/run()
6 years ago
Devin J. Pohly ed132e1127 Move key-matching functions into x.c
6 years ago
Devin J. Pohly dbe8676d7d Pass new dimensions into ttyresize
6 years ago
Devin J. Pohly a8314643b1 Move window-manipulating functions into x.c
6 years ago
Devin J. Pohly a09138afa5 Move font/fontspec variables into x.c and XWindow
6 years ago
Devin J. Pohly 626b0ae40c Move window urgency handling entirely into x.c
6 years ago
Devin J. Pohly d5275012b4 Move zoom functions into x.c
6 years ago
Devin J. Pohly 3518dba2a5 Move usage() to be with run() in x.c
6 years ago
Devin J. Pohly 3e44ee5569 Call xsetenv() in main process instead of child
6 years ago
Suraj N. Kurapati ee5cc8e903 base64dec: skip non-printable characters like \r\n
7 years ago
Quentin Rameau 8dacdfbab1 Revert "Add bold off SGR"
7 years ago
Quentin Rameau 6cb6d61525 Add bold off SGR
7 years ago
Alexander Krotov 149c0d3aed Fix commented out code
7 years ago
osandov@osandov.com e7ed326d2e Support xterm Ms feature to set clipboard
7 years ago
Michael Forney e2ee5ee611 Split X-specific code into x.c
7 years ago
fpqc c63a87cd93 Move column and row default numbers into config.h
8 years ago
Roberto E. Vargas Caballero e44832408b Revert "Initial font size issue."
8 years ago
Spencer Phippen fa9a459972 Fixed 'missing glyph doesn't use fontconfig config substitutions' bug
8 years ago
ian@remmler.org 424202798b Initial font size issue.
8 years ago
pl@ninthfloor.org 902a392b90 Make strdump(), csidump(), print to stderr
8 years ago
Quentin Rameau 8c99915608 Do not use color when font attributes are supported
8 years ago
Quentin Rameau 68bae9c7b1 Add support for iso14755
8 years ago
Roberto E. Vargas Caballero f7398434b8 Add parsing of DCS q sequences
8 years ago
Roberto E. Vargas Caballero f0e2d28732 Add support for enabling/disabling utf
8 years ago
Christoph Lohmann 528241aa38 Use XftFontMatch in place of FcFontMatch.
8 years ago
v4hn 60aeb37edb delete clipboard properties after pasting them
8 years ago
Roberto E. Vargas Caballero 66556d9670 Remove stupid assignation in memcpy()
8 years ago
Tor Andersson 39964614b7 st: Fix off-by-one error when calculating character width.
8 years ago
Ton van den Heuvel 0e48a1995e Fix vertical character alignment in some cases
8 years ago
Ryusei Yamaguchi 034a5c8a09 Measure the single advance width with a heuristic method
8 years ago
Christoph Lohmann 30440295bc xtermclear() is now done by xdrawglyphfontspecs()
8 years ago
Quentin Rameau 6d636beb22 Fix forgotten bracket and duplicate option in usage()
8 years ago
Quentin Rameau 6e70bb97d4 Extract ttyresize() out of cresize()
8 years ago
Christoph Lohmann 82335583eb Ok, no need for a separate version function.
8 years ago
Quentin Rameau 0cd5117a2c Add -n option for setting WM_CLASS instance name
8 years ago
Quentin Rameau bd5fdbe64c Reformat usage and separate version from it
8 years ago
Christoph Lohmann 504a165277 Enforce a terminal size to reduce race conditions in too efficient apps.
8 years ago
Christoph Lohmann 9031e228ce Height is height.
8 years ago
Christoph Lohmann 610723a58f Bump year.
9 years ago
Christoph Lohmann ff241199ed Fixing the XClassHint setting in st.
9 years ago
Roberto E. Vargas Caballero 375b28720f Avoid recursive call to ttywrite from ttyread
9 years ago
Christoph Lohmann 00873e65ee Introduce lim in all ttywrite() checks.
9 years ago
Roberto E. Vargas Caballero 9f6d8845df Fix ttywrite()
9 years ago
Ivan Tham f0398db4d1 Now the mshortcuts are even more consistent.
9 years ago
Christoph Lohmann e2aa03e6b7 Now the Shortcuts are more consistent.
9 years ago
Jason Woofenden f56c58a968 fix bug where first selection snaps to lines
9 years ago
Quentin Rameau 293f573efd Fix the cursor colors selection
9 years ago
Christoph Lohmann 2ea02c937e Normalize the whole color selection in xdrawcursor.
9 years ago
Quentin Rameau 80fe97f8a6 Fix the cursor color when over selection.
9 years ago
Christoph Lohmann 52d0e82df7 Snowman is everywhere.
9 years ago
Christoph Lohmann f7b80caebe The definition of the reverse cursor is now up to the user.
9 years ago
Christoph Lohmann 594a259836 Fixing the cursor movement in selections.
9 years ago
Christoph Lohmann 91c70213d1 When the cursor is moved, clear the selection.
9 years ago
Christoph Lohmann 2677296147 Reverse the cursor on selection.
9 years ago
Christoph Lohmann 5ece2b5f4a More style changes. We forgot some switches.
9 years ago
Christoph Lohmann 2bef36ab81 Small style change.
9 years ago
dequis 4be353e381 Fix extra bracketed paste markers when pasting >8kb
9 years ago
FRIGN 20d53cebc1 dup() -> dup2()
9 years ago
Roberto E. Vargas Caballero 5d2d9d540d Fix copy of line with len = 0
9 years ago
Jan Christoph Ebersbach 3ba9c8fc3f Expose cursor shape in config.def.h
9 years ago
Roberto E. Vargas Caballero 1f087aa8b7 Add key to send a break to the serial line
9 years ago
Christoph Lohmann aa5d4c3b34 Making st.1 more descriptive about -l and fix -l in st.c.
9 years ago
Christoph Lohmann 9eeb4e1ea2 Reordering and adding control codes.
9 years ago
Christoph Lohmann 0c94f8621b Merge branch 'master' of ssh://suckless.org/gitrepos/st
9 years ago
Christoph Lohmann 0d838b7243 Don't read if we chunked the input data.
9 years ago
Roberto E. Vargas Caballero 7e61f5e4c5 Do not mark as invalid UTF8 control codes
9 years ago
Alex Kozadaev ee5cad439b Adding mouse colour/shape settings
9 years ago
Christoph Lohmann dc33d1d66e Adding -T to the usage too.
9 years ago
Christoph Lohmann b5e29cce52 Add -T, as recommended by Dmitrij D. Czarkoff
9 years ago
Quentin Rameau 4a193b9686 Fix type for write(2) return variable.
9 years ago
Roberto E. Vargas Caballero 62756fdb49 Fix style in execsh
9 years ago
Christoph Lohmann d032b61597 Make the comment for the IM XFilter more understandable.
9 years ago
Christoph Lohmann 684c72d05e Return style unification.
9 years ago
Christoph Lohmann b823f57fa0 Aligning the macros.
9 years ago
Christoph Lohmann 684f0a0729 Unix end of file.
9 years ago
Christoph Lohmann d3c7b6fb73 No inline declarations please.
9 years ago
Christoph Lohmann 41f70a1cff Typo and the missing incr atom from the patches.
9 years ago
Christoph Lohmann 261ea4b7e0 Implement chunked write to the cmdfd.
9 years ago
Christoph Lohmann f8c6e7d041 Implement INCR transfers in the clipboard.
9 years ago
FRIGN f1307d91e2 Don't treat clauses like functions
9 years ago
FRIGN 13233574ed Use BSD-style function notation
9 years ago
FRIGN 9de853a98d Unboolify st
9 years ago