Commit Graph

827 Commits (master)

Author SHA1 Message Date
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
FRIGN abfad4c4fc Remove insane *_FILENO and EXIT_* usage
9 years ago
Weng Xuetian 5f48e89716 Revert "Remove unnecessary XFilterEvent call."
9 years ago
Quentin Rameau bdd649a102 do not truncate font size when zooming
9 years ago
Roberto E. Vargas Caballero 71fa10f613 Revert "Optimize memory footprint of line buffers"
9 years ago
Jan Christoph Ebersbach caa97cc781 Support UTF-8 characters as word delimiters
9 years ago
Roberto E. Vargas Caballero c03548750b Merge branch 'master' of ssh://suckless.org/gitrepos/st
9 years ago
v4hn 8e15887de9 set selection to IDLE on clear
9 years ago
suigin 89cf0fc597 Small bugfix for makeglyphfontspecs call in drawregion
9 years ago
Christoph Lohmann 980991fa6e Fix the new -e handling. An empty cmd has to work for backwards compatibility.
9 years ago
suigin ae1923d275 Clean up xdraws and optimize glyph drawing with non-unit kerning values
9 years ago
suigin 38af006b5e Changed type for UTF-32 codepoints from long to uint_least32_t
9 years ago
noname c990abfedf Fix empty selection highlighting bug.
9 years ago
noname 3cb7f27afe Fix indentation.
9 years ago
noname 1811b6030c Add enumeration for sel.mode
9 years ago
noname 22571ea4e8 selnormalize: make special case explicit
9 years ago
noname 8751809aff selsnap: simplify SNAP_LINE case
9 years ago
noname 765bb0fd14 Remove first argument of selsnap.
9 years ago
Jochen Sprickerhof 07ce96a3a0 Fix sigchld
9 years ago
mvdan@mvdan.cc 190b94c7a2 len assignment is never used
9 years ago
mvdan@mvdan.cc 4f21c41a1c Clarify calculation precedence for '&' and '?'
9 years ago
mvdan@mvdan.cc 3a5053f6c1 Use %u for uint
9 years ago
suigin 7ab6c92e18 Optimize memory footprint of line buffers
9 years ago
noname@inventati.org 0622ad9bad Make tputc, tsetchar and techo accept unicode
9 years ago
noname@inventati.org 21f765426c Change internal character representation.
9 years ago
noname@inventati.org 753fe862b1 Remove last parameter of utf8encode
9 years ago
noname@inventati.org 61c35cd246 Use utf8len instead of utf8decode.
9 years ago
alp@alexpilon.ca 742a41d655 Make build shut up about system() without return value check.
9 years ago
Roberto E. Vargas Caballero f36dd277a2 Merge remote-tracking branch 'origin/master'
9 years ago
Roberto E. Vargas Caballero 0d7448dabc Fix segmentation fault in strhandle()
9 years ago
Roberto E. Vargas Caballero b17aa18f7c Uses a &[] pointer loop instead of + pointer loop
9 years ago
noname@inventati.org 736685d641 Do not set terminal title based on stty arguments.
9 years ago
noname@inventati.org 89807ed453 Move common code to xloadcolor
9 years ago
noname@inventati.org 84c756b97e Use LEN(dc.col) instead of LEN(colorname).
9 years ago
noname@inventati.org 2fdcc5e5f6 Remove WIN_REDRAW flag.
9 years ago
noname@inventati.org ab69ea89b7 Place memset arguments in the correct order.
9 years ago
noname@inventati.org 5528280fae Remove explicit 'return' from 'void' functions.
9 years ago
noname@inventati.org 6dc2b546ec Increment accuaracy in drawtime calculation
9 years ago
noname@inventati.org c27c731b9f Monotonic clock cannot jump backwards.
9 years ago
noname@inventati.org 6ee56d6590 Place tlinelen type on separate line.
9 years ago
Roberto E. Vargas Caballero 215bdb2da3 Add tty line support
9 years ago
sin 56abffb4b6 Fix memmove() invocation with src/dst being NULL
9 years ago
noname@inventati.org aff35af275 Use as command arguments the remaining parameters
9 years ago
Roberto E. Vargas Caballero 83e73c6242 Merge branch 'master' of ssh://suckless.org/gitrepos/st
9 years ago
Markus Wichmann 42fa1f5ce4 Implement most ICCCM rules for selection handling.
9 years ago
Roberto E. Vargas Caballero 23ed12857f Merge branch 'master' of ssh://suckless.org/gitrepos/st
9 years ago
noname@inventati.org 9eb70a2d3e Do not use tmoveto in tputtab.
9 years ago
noname@inventati.org 9619760e12 tresize: remove unnecessary if
9 years ago
noname@inventati.org b94ad75e5d Remove 'titles' variable.
9 years ago
noname@inventati.org e6dd0f825d Remove useless if in tstrsequence.
9 years ago
noname@inventati.org b0310fba5d Simplify tmoveto.
9 years ago
noname@inventati.org 9d1495f9ee Fix typo.
9 years ago
noname@inventati.org c569e3146e Remove 'slide' variable in tresize.
9 years ago
noname@inventati.org 39ae1a4de5 Move tresize comments around.
9 years ago
noname@inventati.org 6352502d64 tresize: move for loop outside if
9 years ago
noname@inventati.org b9390a5496 Simplify loop condition.
9 years ago
noname@inventati.org d2937b05ae Remove unnecessary XFilterEvent call.
9 years ago
noname@inventati.org d3e0f3444b Use do..while in window mapping loop.
9 years ago
Omar Sandoval ecac5ee35e Make DECSCUSR thickness configurable
9 years ago
noname 93b54cfcc4 Use MAX macro where possible.
9 years ago
noname 6f5f770186 Remove 'xloadfontset' function.
9 years ago
noname 6524f022f7 Remove keywords from function definitions.
9 years ago
noname 9305f3c184 Remove variable names from function declarations.
9 years ago
Roberto E. Vargas Caballero 5bb90125c8 Remove redundant control check
9 years ago
noname 69d1fe06a9 Fixed STR sequence termination condition
9 years ago
Roberto E. Vargas Caballero 288f80cb06 Remove strsep() call
9 years ago
Roberto E. Vargas Caballero c9357a8edf Merge remote-tracking branch 'origin/master'
9 years ago
LemonBoy 580302f317 Support the DECSCUSR CSI escape sequence
9 years ago
Alex Pilon b341e51351 Handle pasting of empty selection.
9 years ago
Roberto E. Vargas Caballero 86d1e432a8 Support XA_STRING in notify request
9 years ago
Christoph Lohmann 2fcfea1bf1 Add Mod + Shift + c/v and no selclear.
9 years ago
Christoph Lohmann 28259f5750 St now does only set PRIMARY on selection.
9 years ago
Christoph Lohmann 9494362d0b Fixing the C reading test.
9 years ago
Christoph Lohmann b0bddc694a Add a hack to handle unknown chars in fontconfig.
9 years ago
Ivan Delalande 1b514048b2 Let curses do the dirty work for flash
9 years ago
Nils Reuße c5f1d74fd8 Update year in usage()
9 years ago
Nils Reuße 7dd24bfb4c Fix crash on font resize resize
9 years ago
Rian Hunter aba6c292af Correct shift amount on MODE_INSERT in tputc()
9 years ago
Rian Hunter 4d14d97547 Fix crash due to wide characters
9 years ago
Ivan Delalande 708b697ed7 Fix crash due to invalid timespec given to pselect
10 years ago
Ivan Delalande 09f5d98251 Trim trailing whitespaces in every selection case
10 years ago
sin 4418939dd9 Call _exit() instead of exit() if exec*() fails
10 years ago
Eric Pruitt bafbba56cd Check for presence of SHELL environment variable
10 years ago
czarkoff@gmail.com 11625c7166 Replace character with U+FFFD if wcwidth() is -1
10 years ago
Quentin Rameau 008aae541b Avoid failing when embedding with a Window id of 0
10 years ago
Roberto E. Vargas Caballero f9fb620914 Do not set SHELL to utmp ever
10 years ago
CustaiCo 86633ada91 patch for bell in st
10 years ago
Roberto E. Vargas Caballero 88429cdcbf Add LS2 and LS3
10 years ago
Roberto E. Vargas Caballero 0c8feecbf7 Fix SI and SO
10 years ago
Christoph Lohmann 63a07eb19c Minor style changes for the last patch.
10 years ago
Christoph Lohmann dc8c5c82aa Implementing xzoomreset.
10 years ago
Roberto E. Vargas Caballero c7a945c408 Add missed names of charset sequences
10 years ago
Roberto E. Vargas Caballero 5afb3862ba Add support for utmp in st
10 years ago
Roberto E. Vargas Caballero 0392d165d0 Remove indentation level in xdrawcursor
10 years ago
Ben Hendrickson 98a1085d0e Removing wrapping newlines from selection
10 years ago
Ivan Delalande 51466e019a Change the behavior of word snapping on delimiters
10 years ago
Ivan Delalande c490a60b80 Move calls to selsnap into selnormalize
10 years ago
Alexander Huemer 83dea7fd7b Improve readability of enum members
10 years ago
Roberto E. Vargas Caballero e5f6736ee0 Add eschandle()
10 years ago
Roberto E. Vargas Caballero a3549c2eec Improve execsh() and don't allow anonymous shells
10 years ago
Roberto E. Vargas Caballero 8342036f98 Fix definition of CONTROLC0
10 years ago