Keith Winstein
c6cd99ba97
terminalfunctions.cc: Refactor out set_if_available()
2014-12-15 21:04:08 -08:00
Andrew Chin
e115f05f0d
Clear other mouse modes if 1000 or 1002 are set
...
I'm not sure if this is correct, but tmux does this!
Signed-off-by: Andrew Chin <achin@eminence32.net >
2014-12-15 20:55:28 -08:00
Andrew Chin
0be97a80bd
Implement UTF8 mouse mode (SET_EXT_MODE_MOUSE DECSET 1005)
...
Signed-off-by: Andrew Chin <achin@eminence32.net >
2014-12-08 20:41:11 -05:00
Andrew Chin
94a35958c2
Revert bb36933472
...
We aren't sure why this change was made, and reverting it appears to help
fix mouse issues in emacs related to text hilighting.
Signed-off-by: Andrew Chin <achin@eminence32.net >
2014-12-08 20:40:38 -05:00
Bazyli Brzóska
492cfa3449
Implement vt100 mouse mode (1000)
...
(closes #461 )
2014-01-04 02:42:26 -05:00
Bazyli Brzóska
bb36933472
xterm extended fix
2014-01-04 02:42:15 -05:00
Bazyli Brzóska
926bbcc746
Implement xterm extended mouse mode
2014-01-04 02:42:15 -05:00
Bazyli Brzóska
5ef7f43479
Implement xterm mouse mode
2014-01-04 02:42:15 -05:00
Barosl LEE
c6bf3a2025
Implement bracketed paste mode
...
Allow bracketed paste mode-setting control sequences to be passed to the
outer terminal.
Signed-off-by: Barosl LEE <vcs@barosl.com >
Closes #430
2013-07-01 03:18:16 -04:00
Daniel "Tracerneo" Ziółkowski
06561d3500
Add support for ECMA-48 escape sequence for italic
...
Closes #443
2013-07-01 03:08:25 -04:00
Anders Kaseorg
64f7f7abb2
Dispatcher::get_{dispatch_chars,OSC_string}: Make const
...
Found by cppcheck
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2013-03-10 15:48:08 -04:00
Anders Kaseorg
d0eeabb51e
human_readable_duration, Terminal::appendstring: Pass strings by reference
...
Found by cppcheck.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2013-03-10 15:48:08 -04:00
Anders Kaseorg
ea3ad786fa
scripts/mosh: Add --no-init option to disable alternate screen mode
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
Closes #384 . Closes #2 .
2013-03-10 15:46:49 -04:00
Anders Kaseorg
ed42d31bda
Put the real terminal in alternate screen mode
...
Closes #2
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2013-03-10 15:46:39 -04:00
Anders Kaseorg
2ae960f7f0
Display: Abstract terminfo capability functions
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2013-03-10 15:46:38 -04:00
Anders Kaseorg
03217ddb5a
Move Emulator::{open,close} to Display
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2013-03-10 15:46:38 -04:00
sqweek
5af90cc1ac
Don't touch window title before an OSC is received.
...
Fixes the "window title being clobbered" issue raised in issue 137.
Signed-off-by: sqweek <sqweek@gmail.com >
Closes #380 . Closes #137 .
2013-03-10 15:44:49 -04:00
sqweek
13a16332d4
Treat empty OSC number as zero.
...
For interoperability's sake, accept OSCs of the form ESC];title^G
treating them the same as ESC]0;title^G
Signed-off-by: sqweek <sqweek@gmail.com >
2013-03-10 15:44:17 -04:00
Anton Lundin
438d0d8b9a
Use the right term.h
...
When ncurses is in a separate include dir, we need to take the term.h
from there to match with the [n]curses.h
2012-12-16 17:30:14 +01:00
Anton Lundin
993abf57f1
Rework curses detection
...
Detect diffrent variants of curses and use them.
2012-12-01 12:53:28 +01:00
Keith Winstein
02f54881be
Use BEL instead of ST to terminate Operating System Command
...
ST is more correct, but BEL is apparently more widely supported.
Closes #304
2012-07-26 22:01:53 -04:00
Anders Kaseorg
5e3ec2e037
Instantiate Parser::family once
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-07-24 15:01:55 -04:00
Keith Winstein
92ecb99b71
Add OpenSSL licensing exception
2012-07-20 16:46:00 -04:00
Keith Winstein
8026c924dc
Quit with cursor visible.
2012-05-23 11:44:49 -04:00
Larry Doolittle
eda48085ba
Simple spelling fixes
2012-05-23 05:11:05 -04:00
Keith Winstein
1cf12f9e9b
Prevent integer overflow of very large escape sequence params. Fixes #274 .
2012-05-16 12:16:50 -04:00
Keith Winstein
9791768705
Cap escape sequence parameters to prevent long loops.
...
Fixes #271 github issue.
2012-05-15 23:46:09 -04:00
Keith Winstein
22375a2d54
Tabulation clear preserves wrap state (per davidben)
2012-05-06 20:01:39 -04:00
Keith Winstein
43182729ec
More graceful output from failed verification
2012-05-05 01:53:28 -04:00
Keith Winstein
48fbe3d0e1
Correctly handle wrapped lines where first portion is blank
2012-05-05 01:45:19 -04:00
Keith Winstein
3bdcc98ba4
Tab preserves, but does not set, wrap state when used in last col.
...
Fixes vttest regression.
2012-05-05 00:04:43 -04:00
Keith Winstein
c8951c7dfd
Use memmove() where ranges may overlap. Fixes #200 (Matthew Dempsky).
2012-04-16 18:22:27 -04:00
Keith Winstein
bfa0999089
Final tab-related bugfix (of the morning). Now matches xterm more closely.
2012-04-16 11:31:37 -04:00
Keith Winstein
0293e579d2
Properly reset tab stops on resize
2012-04-16 09:55:59 -04:00
Keegan McAllister
c390ee9b80
Hardcode the terminals which accept "set window title"
...
terminfo does not have reliable information on this, so we hardcode a whitelist
of terminal type prefixes. This is the list from Debian's default screenrc,
plus "screen" itself (which also covers tmux).
Closes #172 .
Closes #191 .
2012-04-16 09:23:30 -04:00
Keith Winstein
feb352c809
Optional verifier for round-trippability, and fix wrapping and tab bugs.
2012-04-16 09:09:20 -04:00
Keith Winstein
c15d3d0c48
Use "ANSI-mode" cursor keys only on actual cursor keys (A through D).
...
Fixes #161 .
2012-04-16 03:44:07 -04:00
Keith Winstein
6b6747cda7
Fix valgrind error with 1-col char then 2-col char in a 1x1 terminal
2012-04-15 17:11:40 -04:00
Keegan McAllister
cd2d482484
Don't use *_t for our own typedefs
...
It's reserved by POSIX.
(closes #158 pull request)
2012-04-15 13:50:18 -04:00
Keegan McAllister
8bcc001b52
Remove Boost entirely
2012-04-15 13:49:15 -04:00
Keegan McAllister
8f099cafbb
Remove boost::lambda from ConditionalOverlayCell::get_validity
2012-04-15 13:49:15 -04:00
Keegan McAllister
6e56fd2157
Remove BOOST_AUTO from terminaldisplay.cc
2012-04-15 13:49:15 -04:00
Keegan McAllister
87a5f86794
Remove BOOST_AUTO from terminalframebuffer.cc
2012-04-15 13:49:15 -04:00
Keith Winstein
a4221d17a4
Disable posterization and rely solely on TERM to tell remote end about colors
...
(should help #155 github issue)
2012-04-14 13:46:38 -04:00
Keith Winstein
5c20c8d4be
Keep using OSC 0 when possible to preserve compability with older clients.
...
Re: #137
2012-04-14 02:11:31 -04:00
Keith Winstein
d0a818d2e2
Track icon name and window title separately. Implement MOSH_TITLE_NOPREFIX
2012-04-14 01:55:28 -04:00
Keith Winstein
53f79e4261
Fix vttest "Funny scrolling regions" by ignoring some invalid scroll regions
...
Addresses #155 github issue.
2012-04-14 01:11:57 -04:00
Keegan McAllister
d2434d1a79
Check compiler support for -fno-default-inline and -pipe
...
clang was spewing warnings about the unrecognized -fno-default-inline. (Oddly,
it warns only with -c, not when compiling directly to an executable.) For
completeness we also check -pipe, even though clang is OK with that one.
It should be fine to omit either flag. gcc -fno-default-inline drops the
implicit 'inline' annotation on functions defined inside a class scope, but
'inline' is only a hint anyway. -fno-default-inline does not change linkage.
-pipe is merely a compile speed optimization.
2012-04-13 12:27:27 -04:00
Keegan McAllister
349e2d20c8
Use the hardening flags
...
Closes #79 .
2012-04-13 12:25:09 -04:00
Keith Winstein
a67ae7b0f4
Support 16-color set (per Anders Kaseorg).
...
Closes #106 github issue.
Closes #133 github issue.
Closes #131 github issue.
2012-04-11 03:09:26 -04:00